Date: Mon, 17 Apr 2000 13:15:40 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Stromberg cc: djgpp-workers AT delorie DOT com Subject: Re: timezone files: the solution In-Reply-To: <200004170929.LAA26808@lws256.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 17 Apr 2000, Martin Stromberg wrote: > I think Andirs is refering to "+7200" versus "+0200". Sorry, I didn't understand that. > Should the difference be printed in seconds or in HHMM format? %z is non-ANSI (C89) and (AFAIK) non-Posix, so it depends on the library implementation. Glibc's docs says it follows the RFC 822/ISO 8601:1988 style, so +0200 is correct. Our %z is undocumented, so we could produce just about anything ;-). C99 says %z should be as in glibc, so we will need to change that when C99 is supported.