GNU bug report logs - #24823
25.1.50; parse-time-string cannot parse ISO 8601 time string

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Sun, 30 Oct 2016 07:34:02 UTC

Severity: wishlist

Found in version 25.1.50

Done: Matt Armstrong <marmstrong <at> google.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Clément Pit--Claudel <clement.pit <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time
 string
Date: Sun, 30 Oct 2016 10:18:50 -0400
[Message part 1 (text/plain, inline)]
Does any of date-to-time, parse-iso8601-time-string, or timezone-parse-date fit the bill?

Clément.

On 2016-10-30 03:32, Hong Xu wrote:
> 
> 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>
> 
> 
> 
> 
> 

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.