all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matt Armstrong <marmstrong@google.com>
To: Hong Xu <hong@topbug.net>
Cc: 24823-done@debbugs.gnu.org
Subject: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string
Date: Wed, 30 Nov 2016 01:30:08 -0800	[thread overview]
Message-ID: <qf51sxtuxgf.fsf@marmstrong-macbookpro.roam.corp.google.com> (raw)
In-Reply-To: <87h97ui95i.fsf@topbug.net> (Hong Xu's message of "Sun, 30 Oct 2016 00:32:57 -0700")

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.





  parent reply	other threads:[~2016-11-30  9:30 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 [this message]
2016-12-01 20:58   ` Hong Xu

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=qf51sxtuxgf.fsf@marmstrong-macbookpro.roam.corp.google.com \
    --to=marmstrong@google.com \
    --cc=24823-done@debbugs.gnu.org \
    --cc=hong@topbug.net \
    /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.