From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp date/time functions and RFC 3339? Date: Sun, 12 Nov 2006 11:57:09 -0800 Message-ID: <17751.31893.177031.811356@gargle.gargle.HOWL> References: <17746.41387.298537.794187@gargle.gargle.HOWL> <17747.59876.83345.935097@gargle.gargle.HOWL> <87slgr8fr5.fsf@catnip.gol.com> <17750.32424.766478.872614@gargle.gargle.HOWL> <87zmax4brf.fsf@catnip.gol.com> Reply-To: raman@users.sf.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163361480 23880 80.91.229.2 (12 Nov 2006 19:58:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Nov 2006 19:58:00 +0000 (UTC) Cc: raman@users.sf.net, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 12 20:57:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GjLSl-0001EP-KU for ged-emacs-devel@m.gmane.org; Sun, 12 Nov 2006 20:57:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjLSl-0006qb-1O for ged-emacs-devel@m.gmane.org; Sun, 12 Nov 2006 14:57:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GjLSC-0006Ys-RZ for emacs-devel@gnu.org; Sun, 12 Nov 2006 14:57:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GjLS7-0006Ri-EI for emacs-devel@gnu.org; Sun, 12 Nov 2006 14:57:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjLS7-0006RT-8Z for emacs-devel@gnu.org; Sun, 12 Nov 2006 14:57:15 -0500 Original-Received: from [204.127.200.82] (helo=sccrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GjLS2-0007Ps-VF; Sun, 12 Nov 2006 14:57:11 -0500 Original-Received: from localhost (c-71-202-191-236.hsd1.ca.comcast.net[71.202.191.236]) by comcast.net (sccrmhc12) with ESMTP id <2006111219570901200oqr6be>; Sun, 12 Nov 2006 19:57:09 +0000 Original-Received: by localhost (Postfix, from userid 1000) id 425B912A40CC; Sun, 12 Nov 2006 11:57:09 -0800 (PST) Original-To: miles@gnu.org In-Reply-To: <87zmax4brf.fsf@catnip.gol.com> X-Mailer: VM 7.19 under Emacs 22.0.90.7 x-attribution: tvr X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62129 Archived-At: to re-iterate, the only thing format-time-string doesn't handle, and something I find myself hacking in privately, is the printing of the timezone offset i.e. -08:00 vs -0800 the -0800 problem is also inherent to unix' date command. >>>>> "Miles" == Miles Bader writes: Miles> "T. V. Raman" writes: >> all uses of rfc 3339 I've seen in atom feeds use the T. Miles> Miles> I was being a bit facetious when I said "nobody" -- Miles> but indeed, my impression is that the T is pretty Miles> unpopular, so many people adopt the the same format Miles> without it. Miles> Miles> [So any parsing function should parse it with or Miles> without the T (presumably accepting a space or Miles> underline in place of it). Of course it should be Miles> easy to print either variant using Miles> format-time-string.] Miles> Miles> -Miles -- My spirit felt washed. With blood. [Eli Miles> Shin, on "The Passion of the Christ"] -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs