[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5408: date-to-time problem
From: |
Juanma Barranquero |
Subject: |
bug#5408: date-to-time problem |
Date: |
Mon, 18 Jan 2010 16:09:52 +0100 |
On Mon, Jan 18, 2010 at 01:00, Lennart Borgman
<lennart.borgman@gmail.com> 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
- 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, 2010/01/17
- bug#5408: date-to-time problem,
Juanma Barranquero <=
- 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
- bug#5408: date-to-time problem, Lennart Borgman, 2010/01/18