| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-01-08 | [libc][NFC] Cleanup time.h (#122027) | Michael Jones | |
| While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions. What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the `time_constants` namespace. struct tm gets its own type indirection header now. | |||
| 2024-09-16 | [libc][c11] implement ctime (#107285) | Зишан Мирза | |
| This is an implementation of `ctime` and includes `ctime_r`. According to documentation, `ctime` and `ctime_r` are defined as the following: ```c char *ctime(const time_t *timep); char *ctime_r(const time_t *restrict timep, char buf[restrict 26]); ``` closes #86567 | |||
