Hi,
Jon Wilson <[EMAIL PROTECTED]> writes:
> guile> (date->string (current-date))
> "Wed Jun 27 16:39:42-0400 2007"
> guile> (date->string (julian-day->date (date->julian-day (current-date
> "Wed Jun 27 12:39:43-0400 2007"
>
> Offset by four hours from one another. Of course, the four hours
Hi,
Yep. This was a bug which was apparently fixed in the srfi-19 reference
implementation quite some time ago. However, the current reference
implementation for date->julian-day doesn't work either. Anyway, I've
made a change to my working copy of CVS HEAD, and attached is output
from cvs
Hi,
Take a gander:
guile> (date->string (current-date))
"Wed Jun 27 16:39:42-0400 2007"
guile> (date->string (julian-day->date (date->julian-day (current-date
"Wed Jun 27 12:39:43-0400 2007"
Offset by four hours from one another. Of course, the four hours comes
from the -0400 time zone. B