-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I ran this test program:
module Main where
import Data.Time
import Data.Time.LocalTime.TimeZone.Series
import Data.Time.LocalTime.TimeZone.Olson
main :: IO ()
main = do
tzs <- getTimeZoneSeriesFromOlsonFile "/usr/share/zoneinfo/America/New_York"
putStrLn $ show $ timeZoneFromSeries tzs $ UTCTime (fromGregorian 2038 7 1) 0
Result:
EST
By comparison, the C library correctly gives EDT:
$ env TZ=America/New_York date -d '2038-07-01 UTC'
Wed Jun 30 20:00:00 EDT 2038
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels