orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omalley <...@git.apache.org>
Subject [GitHub] orc issue #197: ORCORC-271: Improve HAS_PRE_1970/HAS_POST_2038 code
Date Tue, 05 Dec 2017 17:36:27 GMT
Github user omalley commented on the issue:

    Your HAS_POST_2038 doesn't do the correct test.
    The point of the HAS_POST_2038 isn't that gmtime fails, it is that the timezone information
continues in 2038. MacOS is the last hold out using the old 32 bit timezone files.
    So the current test uses Americas/Los_Angeles and checks to see if daylight savings happens
in 2038. Your test for HAS_POST_2038 erroneously passes on MacOS. 


View raw message