From: "Edward O'Connor" <hober0@gmail.com>
To: MON KEY <monkey@sandpframing.com>
Cc: Juri Linkov <juri@jurta.org>, emacs-devel@gnu.org
Subject: Re: Can `format-time-string' produce full/extended ISO 8601 times?
Date: Thu, 6 Aug 2009 11:47:04 -0700 [thread overview]
Message-ID: <3b31caf90908061147x84730efje897bbd96f92eef1@mail.gmail.com> (raw)
In-Reply-To: <d2afcfda0908061139o2be96033vf66ebdbf704e61e7@mail.gmail.com>
> From what I am able to gather the "%z" of the `format-time-string'
> spec doesn't produce a colon delimited UTC-offset/ZONE and provides
> only for production of the time-numoffset as:
FWIW, I have the following code or variations thereof sprinkled
throughout several libraries I maintain:
(let ((stamp (format-time-string "%Y-%m-%dT%H:%M:%S%z" time)))
(format "%s:%s" (substring stamp 0 -2) (substring stamp -2)))
Adding the ability for format-time-string to produce the tz colon
would be great.
Ted
next prev parent reply other threads:[~2009-08-06 18:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 22:10 Can `format-time-string' produce full/extended ISO 8601 times? MON KEY
2009-08-02 23:52 ` Juri Linkov
2009-08-06 18:39 ` MON KEY
2009-08-06 18:47 ` Edward O'Connor [this message]
2009-08-06 20:41 ` Juri Linkov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3b31caf90908061147x84730efje897bbd96f92eef1@mail.gmail.com \
--to=hober0@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=monkey@sandpframing.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).