mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix %T in strftime(3) being incorrectly implemented.
This commit is contained in:
parent
d4e7934828
commit
b5d80ee5d1
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ size_t strftime(char* s, size_t max, const char* format, const struct tm* tm)
|
|||
case 'R': OUTPUT_STRFTIME("%H:%M"); break;
|
||||
case 'S': OUTPUT_INT_PADDED(tm->tm_sec, 2, '0'); break; /*O*/
|
||||
case 't': OUTPUT_CHAR('\t'); break;
|
||||
case 'T': OUTPUT_STRFTIME("H:%M:%S"); break;
|
||||
case 'T': OUTPUT_STRFTIME("%H:%M:%S"); break;
|
||||
case 'u': OUTPUT_INT(tm->tm_yday); break; /*O*/
|
||||
case 'U': /*O*/
|
||||
// TODO: These require a bit of intelligence.
|
||||
|
|
Loading…
Reference in a new issue