GNU bug report logs - #25086
[PATCH] Fix the timezone detection of parse-iso8601-time-string.

Previous Next

Package: emacs;

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

Date: Fri, 2 Dec 2016 03:48:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Hong Xu <hong <at> topbug.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: [PATCH] Fix the timezone detection of parse-iso8601-time-string.
Date: Thu, 01 Dec 2016 19:55:37 -0800
[Message part 1 (text/plain, inline)]
On 2016-12-01 Thu 19:46 GMT-0800, Hong Xu <hong <at> topbug.net> wrote:

> 	* parse-time.el (parse-iso8601-time-string): Fix its timezone
>         parsing.
>         * parse-time.el: Add doc for parse-iso8601-time-string and
>         make it autoload.
>         * editfns.c (Fdecode-time): Minor doc improvement for decode-time.

I should have noted that the current version basically cannot parse the
timezone at all. To reproduce, try the following:

(format-time-string "%H %M %S"
                    (parse-iso8601-time-string "1998-09-12T12:21:54-0200") t)


Also missed one line:

* emacs-mime.texi (time-date): Add an example for parse-iso8601-time-string.
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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