[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5408: date-to-time problem
From: |
Lennart Borgman |
Subject: |
bug#5408: date-to-time problem |
Date: |
Mon, 18 Jan 2010 01:00:23 +0100 |
On Mon, Jan 18, 2010 at 12:53 AM, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Mon, Jan 18, 2010 at 00:12, Lennart Borgman
> <lennart.borgman@gmail.com> wrote:
>
>> Is not this one hour wrong?
>
> `date-to-time' calls `timezone-make-date-arpa-standard', but does not
> pass it local timezone info, so it assumes GMT.
>
> Compare
>
> ELISP> (timezone-make-date-arpa-standard "Sun Jan 17 22:39:58 2010")
> "17 Jan 2010 23:39:58 +0100"
> ELISP> (timezone-make-date-arpa-standard "Sun Jan 17 22:39:58 2010" "GMT+1")
> "17 Jan 2010 22:39:58 +0100"
Ok, thanks for all the answers.
But date-to-time does not say that it assumes GMT.
And current-time-string does not say it will give my local time.
- bug#5408: date-to-time problem, Lennart Borgman, 2010/01/17
- bug#5408: date-to-time problem, Andreas Schwab, 2010/01/17
- bug#5408: date-to-time problem, Chong Yidong, 2010/01/17
- bug#5408: date-to-time problem, Juanma Barranquero, 2010/01/17
- bug#5408: date-to-time problem,
Lennart Borgman <=
- bug#5408: date-to-time problem, Juanma Barranquero, 2010/01/18
- bug#5408: date-to-time problem, Lennart Borgman, 2010/01/18
- bug#5408: date-to-time problem, Juanma Barranquero, 2010/01/18
- bug#5408: date-to-time problem, Lennart Borgman, 2010/01/18
- bug#5408: date-to-time problem, Juanma Barranquero, 2010/01/18
- bug#5408: date-to-time problem, Chong Yidong, 2010/01/18
- bug#5408: date-to-time problem, Lennart Borgman, 2010/01/18
- bug#5408: date-to-time problem, Juanma Barranquero, 2010/01/18
- bug#5408: date-to-time problem, Lennart Borgman, 2010/01/18
- bug#5408: date-to-time problem, Juanma Barranquero, 2010/01/18