mirror of
https://github.com/cc65/cc65.git
synced 2026-04-19 09:28:25 +00:00
a9ce4dc76c
So far time_t values were interpreted as local time values. However, usually time_t values are to be interpreted as "seconds since 1 Jan 1970 in UTC". Therefore all logic handling time_t values has to be changed. - So far gmtime() called localtime() with an adjusted time_t, now localtime() calls gmtime() with an adjusted time_t. - mktime() has to do "the opposite" of localtime(), to keep it that way mktime() does now the inverse adjustment made by localtime(). - All currently present time() implementations internally call mktime() so they don't require individual adjustments.
3.1 KiB
3.1 KiB