LibC: Update struct tm to be POSIX issue 8 compliant

This commit is contained in:
2025-08-11 18:59:20 +03:00
parent 1a6c5deb4b
commit 9b09d2b47a
2 changed files with 15 additions and 10 deletions

View File

@@ -190,6 +190,9 @@ struct tm* gmtime_r(const time_t* timer, struct tm* __restrict result)
result->tm_year -= 1900;
result->tm_isdst = 0;
result->tm_gmtoff = 0;
result->tm_zone = "UTC";
return result;
}