• Paul Eggert's avatar
    Fix decode-time/encode-time roundtrip on macOS · 325f51c8
    Paul Eggert authored
    * src/timefns.c (Fencode_time): Ignore DST flag when the zone is
    numeric or is a cons, as the doc string says it’s ignored in that
    case, and not ignoring it causes encode-time to not invert
    decode-time on some platforms (Bug#35502).
    * test/src/timefns-tests.el (encode-time-dst-numeric-zone):
    New test.
timefns.c 54.9 KB