From: Juanma Barranquero <lekktu@gmail.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 5408@debbugs.gnu.org
Subject: bug#5408: date-to-time problem
Date: Mon, 18 Jan 2010 16:09:52 +0100 [thread overview]
Message-ID: <f7ccd24b1001180709m3a2a28fdk2a59f46463540206@mail.gmail.com> (raw)
In-Reply-To: <e01d8a51001171600v6ef89790h8899e2e5301bea21@mail.gmail.com>
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
next prev parent reply other threads:[~2010-01-18 15:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-17 23:12 bug#5408: date-to-time problem Lennart Borgman
2010-01-17 23:53 ` Andreas Schwab
2010-01-17 23:53 ` Juanma Barranquero
2010-01-18 0:00 ` Lennart Borgman
2010-01-18 15:09 ` Juanma Barranquero [this message]
2010-01-18 15:11 ` Lennart Borgman
2010-01-18 15:19 ` Juanma Barranquero
2010-01-18 15:26 ` Lennart Borgman
2010-01-18 15:41 ` Juanma Barranquero
2010-01-18 16:29 ` Chong Yidong
2010-01-18 16:31 ` Lennart Borgman
2010-01-18 16:32 ` Juanma Barranquero
2010-01-18 16:42 ` Lennart Borgman
2010-01-18 16:45 ` Juanma Barranquero
2010-01-18 16:47 ` Lennart Borgman
2010-01-18 16:56 ` Juanma Barranquero
2010-01-17 23:53 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b1001180709m3a2a28fdk2a59f46463540206@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=5408@debbugs.gnu.org \
--cc=lennart.borgman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.