From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#24823: 25.1.50; parse-time-string cannot parse ISO 8601 time string Date: Thu, 01 Dec 2016 12:58:48 -0800 Message-ID: <87polbtlh3.fsf@topbug.net> References: <87h97ui95i.fsf@topbug.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1480626012 17153 195.159.176.226 (1 Dec 2016 21:00:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2016 21:00:12 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.1.90.2 Cc: 24823-done@debbugs.gnu.org To: Matt Armstrong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 01 22:00:08 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCYSe-00046t-79 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2016 22:00:08 +0100 Original-Received: from localhost ([::1]:58921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCYSi-0006SH-40 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2016 16:00:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCYSc-0006Qx-AV for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 16:00:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCYSZ-0003Vo-Ab for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 16:00:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCYSZ-0003Vb-86 for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 16:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cCYSY-0003yY-Kq for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 16:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2016 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24823 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24823-done@debbugs.gnu.org id=D24823.148062594215174 (code D ref 24823); Thu, 01 Dec 2016 21:00:02 +0000 Original-Received: (at 24823-done) by debbugs.gnu.org; 1 Dec 2016 20:59:02 +0000 Original-Received: from localhost ([127.0.0.1]:49146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCYRa-0003wg-9V for submit@debbugs.gnu.org; Thu, 01 Dec 2016 15:59:02 -0500 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCYRX-0003wG-VV for 24823-done@debbugs.gnu.org; Thu, 01 Dec 2016 15:59:00 -0500 Original-Received: from localhost (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1480625935383599.2040880931914; Thu, 1 Dec 2016 12:58:55 -0800 (PST) In-reply-to: X-Zoho-Virus-Status: 1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126372 Archived-At: --=-=-= Content-Type: text/plain On 2016-11-30 Wed 01:30 GMT-0800, Matt Armstrong wrote: > Hong Xu 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. Thank you, that should have solved my problem! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYQI8IAAoJECZsfTOCL4R4y5EP/jjV1zyfUrZNjbh6vXxCQiFn MBUNM2e/6l7Zm1UF/4Pph6JfquZL0WuCeHhLUyOvQZgKmBn9BG5D5V4x2VDcWWwN o8T3lI7s1wFdNDOugcsyusYkIBlrR8x8Tp/R+mwNTOg9Rq4eQHUYMKsLLA3U1yfQ 2U/6MXSmxbDp/H0PVyZK5knRmuZpMjFvc4OfeNFkCk/7eo8LloGJTEb+isL4pl8P M9LAfRgrd5LmaKDjlgfthHQkygNhkIRW3PtpUcqntWcoiCK/00EJzmZMNm/RE5C9 Mkc8BcWurK6Dka8rv80vSjPrRPgYVzLpG7FhUW1xfUIl0eDP2cGiTiHRLjAmyUXq j3bIRZpNmCaDzs3vFB/C49Ryr8pgQLFXPAENa+0FBKTJ6ZRlNbraLC9n0Bry2v/E muhSxCeyAYH0NLszMcWxd8deEET9loAZMEBl7De038aMzXCXpRw0W+46d8RvAmqk vc3umMWolaSbDB5iNKKco/5xURUkkVVEEsgn14rG9aGkvgBCr4Xdbb3PuqJcR44d thiPmsNcbSm/V2o8sdM1FWpwjnQ7ZKx7NmLfjT/9lnd7vptCaRqZkii4zKSqkU4P ZvjWlxwFrrOcPHu3xExk67vq2y8Oxn0vdTabHN9qL8rHiHhW1ivg0HeMWAY/3Ngz wC0z47vLo7luVHywV8Rs =xNhv -----END PGP SIGNATURE----- --=-=-=--