Subject: Re: bug#5408: date-to-time problem

From: Juanma Barranquero <[email-masked]>
Date: Mon, 18 Jan 2010 16:09:52 +0100

On Mon, Jan 18, 2010 at 01:00, Lennart Borgman
<[email-masked]> wrote:

> But date-to-time does not say that it assumes GMT.

No. Perhaps it should.

> And current-time-string does not say it will give my local time.

It seems fair to default to your local timezone. Note that there's
also a `current-time-zone', so

ELISP> (current-time-zone)
(3600 "+0100")

ELISP> (current-time-zone (date-to-time "Sun Jan 17 22:39:58 2010"))
(3600 "+0100")

    Juanma