Re: SRFI-19 bug: date->julian-day not inverse of julian-day->date

2007-07-09 Thread Ludovic Courtès
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

Re: SRFI-19 bug: date->julian-day not inverse of julian-day->date

2007-06-27 Thread Jon Wilson
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

SRFI-19 bug: date->julian-day not inverse of julian-day->date

2007-06-27 Thread Jon Wilson
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