Hi, >> I'd like to suggest the addition of a : modifier, such that >> (format-time-string "%:z") would generate an RFC 3339-compatible time >> zone offset. > > What a coincidence. :-)
No coincidence—it was that emacs-devel thread that reminded me of this issue. > I've been playing with dropping the gnulib strftime.c into Emacs > today, and that seems to make %:z work as required: I'm very happy to hear it! > I'm guessing this will be for Emacs 24, though. I suppose I'll go with something like this compatibility test for now: (let ((test "%:z")) (string-equal test (format-time-string test))) Thanks again, Ted
