[Haskell-cafe] Parsing LocalTime from Unix seconds

Olaf Klinke olf at aatal-apotheke.de
Fri Sep 14 20:11:46 UTC 2018


Is the result of parsing Unix seconds to LocalTime even well-defined? A LocalTime could be in any time zone, while Unix epoch is relative to a certain time-point in UTC. Hence the parse result must depend on what time zone the LocalTime is referring to. 

Olaf


More information about the Haskell-Cafe mailing list