Opened 9 years ago

Last modified 8 years 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 9 years ago by Mario Domenech Goulart

Component: unknowncore libraries

comment:2 Changed 8 years ago by sjamaan

Estimated difficulty: insane

Because POSIX

Note: See TracTickets for help on using tickets.