[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Lisp date/time functions and RFC 3339?

From: T. V. Raman
Subject: Re: Emacs Lisp date/time functions and RFC 3339?
Date: Sun, 12 Nov 2006 11:57:09 -0800

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 <address@hidden> writes:
    Miles> "T. V. Raman" <address@hidden> writes:
    >> all uses of rfc 3339 I've seen in atom feeds use the T.
    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> [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 -- My spirit felt washed.  With blood.  [Eli
    Miles> Shin, on "The Passion of the Christ"]

Best Regards,

Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]