guile-user
[Top][All Lists]
Advanced

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

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


From: Ludovic Courtès
Subject: Re: SRFI-19 bug: date->julian-day not inverse of julian-day->date
Date: Mon, 09 Jul 2007 18:50:13 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi,

Jon Wilson <address@hidden> 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
> comes from the -0400 time zone.  But clearly one of the two functions
> is taking the time zone into account in a different manner from the
> other function, leading to this discrepancy.

I applied your patch to both branches.

Thanks!

Ludovic.






reply via email to

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