all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hong Xu <hong@topbug.net>
To: Matt Armstrong <marmstrong@google.com>
Cc: 24823-done@debbugs.gnu.org
Subject: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string
Date: Thu, 01 Dec 2016 12:58:48 -0800	[thread overview]
Message-ID: <87polbtlh3.fsf@topbug.net> (raw)
In-Reply-To: <qf51sxtuxgf.fsf@marmstrong-macbookpro.roam.corp.google.com>

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]


On 2016-11-30 Wed 01:30 GMT-0800, Matt Armstrong <marmstrong@google.com> wrote:

> Hong Xu <hong@topbug.net> writes:
>
>> The function parse-time-string cannot parse ISO 8601 time string, e.g.,
>> 2005-04-07T22:13:13, which is pretty ubiquitous nowadays.
>> (parse-time-string 2005-04-07T22:13:13) returns a list full of nils.
>
> Hi Hong, parse-iso8601-time-string exists and can be used to parse ISO
> 8601 time strings.  It falls back to RFC 2822 style strings if that
> fails.  It would be nice if parse-time-string handled 8601 formt, but
> this has implications for current users.  I'll tag this bug a 'wishlist'
> in case others have opinions.

Thank you, that should have solved my problem!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

      reply	other threads:[~2016-12-01 20:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-30  7:32 bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string Hong Xu
2016-10-30 14:18 ` Clément Pit--Claudel
2016-11-30  9:30 ` Matt Armstrong
2016-12-01 20:58   ` Hong Xu [this message]

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=87polbtlh3.fsf@topbug.net \
    --to=hong@topbug.net \
    --cc=24823-done@debbugs.gnu.org \
    --cc=marmstrong@google.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.