From: naisbodo Newsgroups: comp.os.msdos.djgpp Subject: Re: strftime: Need Help with Time Offsets Date: 22 Dec 2000 01:51:59 GMT Lines: 26 Message-ID: <91uc3v$c3g$1@bob.news.rcn.net> References: <1a524t0tk28cmv3vqfq26tooe0qeikhgm5 AT 4ax DOT com> X-Trace: UmFuZG9tSVZLhWO0ZzoyNDzBnCAAdj6FfU18yLkngns15jeGlQ10U0uhRe3lOr58 X-Complaints-To: abuse AT rcn DOT com NNTP-Posting-Date: 22 Dec 2000 01:51:59 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jason Green wrote: > Of course, %z can be made to do whatever we want. More realistically, it should allow existing programs to work without modification. There are two cases of existing programs: * Programs which must be ported and rely on a standard behavior * Programs which are on DJGPP already and rely on existing behavior Which is more significant in this case? Is there a way to support both behaviors if both are important? > So if you think it should do something else please say so and I will > try to code for that. http://www.cl.cam.ac.uk/~mgk25/iso-time.html > Maybe you have a copy of the ANSI standard to check on this? (I do > not have a copy here). Which ANSI standard? C99 refers to ISO 8601 on %z, which says HHMM, while %Z is implementation-defined. This question would best be asked on comp.lang.c. -- naisbodo AT enteract DOT com