unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Hong Xu <hong@topbug.net>
To: 25086@debbugs.gnu.org
Subject: bug#25086: [PATCH] Fix the timezone detection of parse-iso8601-time-string.
Date: Thu, 01 Dec 2016 19:55:37 -0800	[thread overview]
Message-ID: <874m2nyog6.fsf@topbug.net> (raw)
In-Reply-To: <1480650408-26252-1-git-send-email-hong@topbug.net>

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


On 2016-12-01 Thu 19:46 GMT-0800, Hong Xu <hong@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.

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

  reply	other threads:[~2016-12-02  3:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02  3:46 bug#25086: [PATCH] Fix the timezone detection of parse-iso8601-time-string Hong Xu
2016-12-02  3:55 ` Hong Xu [this message]
2016-12-02  4:04   ` Hong Xu
     [not found]     ` <qf5fum6ubn4.fsf@marmstrong-macbookpro.roam.corp.google.com>
2016-12-02  6:13       ` Hong Xu
2016-12-12  0:37         ` Hong Xu
2016-12-12 17:22           ` Matt Armstrong
2016-12-12 17:58             ` Eli Zaretskii
2016-12-17 14:58     ` Eli Zaretskii
2016-12-17 20:42       ` Hong Xu
2016-12-18  3:11         ` Hong Xu
2016-12-24 12:41           ` Eli Zaretskii
2016-12-24 21:04             ` Hong Xu
2016-12-25  3:29               ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874m2nyog6.fsf@topbug.net \
    --to=hong@topbug.net \
    --cc=25086@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).