chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1217: Unit Posix time/date behaviors differ across o


From: Chicken Trac
Subject: [Chicken-janitors] #1217: Unit Posix time/date behaviors differ across operating systems
Date: Fri, 28 Aug 2015 13:17:10 -0000

#1217: Unit Posix time/date behaviors differ across operating systems
-----------------------------+---------------------
 Reporter:  nemo             |      Owner:
     Type:  defect           |     Status:  new
 Priority:  major            |  Milestone:  someday
Component:  unknown          |    Version:  4.9.x
 Keywords:  posix time date  |
-----------------------------+---------------------
 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.

--
Ticket URL: <http://bugs.call-cc.org/ticket/1217>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]