Opened 2 years ago

Last modified 15 months ago

#1217 new defect

Unit Posix time/date behaviors differ across operating systems

Reported by: nemo Owned by:
Priority: major Milestone: someday
Component: core libraries Version: 4.9.x
Keywords: posix time date Cc:
Estimated difficulty: insane

Description

Procedures seconds->local-time and string->time produce different results on (Arch) Linux vs OS X. Windows behavior is unknown. This likely reflects a difference in the behavior of strptime on the two systems---see:

http://stackoverflow.com/questions/31984002/why-does-strptime-behave-differently-on-osx-and-on-linux

Giving a fully specified and unambiguous time string in Chicken does not fix this problem. For example,

(string->time "2015-08-25 12:00:00 EDT" "%Y-%m-%d %H:%M:%S %Z")

returns different vectors on OS X vs Linux.

Change History (2)

comment:1 Changed 2 years ago by mario

  • Component changed from unknown to core libraries

comment:2 Changed 15 months ago by sjamaan

  • Estimated difficulty set to insane

Because POSIX

Note: See TracTickets for help on using tickets.