Re: Fwd: Re: [PATCH 21.5] Fix signs in time zone string.

"Stephen J. Turnbull" <[email protected]> Thu, 02 Oct 2014 11:12:45 +0900
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
Marcus Crestani writes:
 > >>>>>"AA" == Adrian Aichner <[email protected]> writes:
 > AA> So the encoding has to apply the timezone offset in opposite direction
 > AA> to arrive at the UTC value for the encoded time, right?
 > 
 > Right.

Yup, that's what I missed too, and worry about that is why I
complained about conformance in the comment.

 > AA> GNU Emacs, it appears, prefixes 0 with a minus sign as well.
 > 
 > Well, this doesn't hurt but is not as nice to the eye as "+0", IMHO.  Do
 > you prefer that XEmacs should behave exactly like GNU Emacs and also add
 > a minus sign when the time offset is zero?

"+0" is prettier, but there may be code that looks for "-0" explicitly
out there (eg, to test for GMT).  If you're going to do it differently
from GNU, please document it.