diff --git a/src/system/libroot/posix/time/strftime.c b/src/system/libroot/posix/time/strftime.c index e6ca193810..cf86bdc79e 100644 --- a/src/system/libroot/posix/time/strftime.c +++ b/src/system/libroot/posix/time/strftime.c @@ -176,6 +176,9 @@ label: case '\0': --format; break; + case '0': + // ignore '0'-modifier supported by glibc for compatibility + goto label; case 'A': pt = _add((t->tm_wday < 0 || t->tm_wday >= DAYSPERWEEK) ?