emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#24823: closed (25.1.50; parse-time-string cannot p


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24823: closed (25.1.50; parse-time-string cannot parse ISO 8601 time string)
Date: Wed, 30 Nov 2016 09:31:02 +0000

Your message dated Wed, 30 Nov 2016 01:30:08 -0800
with message-id <address@hidden>
and subject line Re: bug#24823: 25.1.50; parse-time-string cannot parse ISO 
8601 time string
has caused the debbugs.gnu.org bug report #24823,
regarding 25.1.50; parse-time-string cannot parse ISO 8601 time string
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24823: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24823
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1.50; parse-time-string cannot parse ISO 8601 time string Date: Sun, 30 Oct 2016 00:32:57 -0700 User-agent: mu4e 0.9.17; emacs 25.1.50.8
In GNU Emacs 25.1.50.8 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
Repository revision: 91c97b6eed708f5a1f34478b52f42ef9e51efcb5
Windowing system distributor 'The X.Org Foundation', version 11.0.11604000
System Description:     Debian GNU/Linux 8.6 (jessie)

Configured using:
 'configure --with-xwidgets --with-modules
 --prefix=/home/hong/.local/opt/emacs'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS

Important settings:
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix

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.

<#secure method=pgpmime mode=sign>




--- End Message ---
--- Begin Message --- Subject: Re: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string Date: Wed, 30 Nov 2016 01:30:08 -0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)
Hong Xu <address@hidden> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]