delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/17/05:43:22

Date: Mon, 17 Apr 2000 13:15:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
cc: djgpp-workers AT delorie DOT com
Subject: Re: timezone files: the solution
In-Reply-To: <200004170929.LAA26808@lws256.lu.erisoft.se>
Message-ID: <Pine.SUN.3.91.1000417131019.16343A-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019