mirror of
https://github.com/cc65/cc65.git
synced 2026-03-13 05:42:09 +00:00
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.
6.6 KiB
6.6 KiB