This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
timezone() errors
- To: <cygwin-developers@sourceware.cygnus.com>
- Subject: timezone() errors
- From: "Norbert Schulze" <Norbert.Schulze@rhein-neckar.de>
- Date: Tue, 24 Aug 1999 19:11:00 +0200
From the ChangeLog:
> Mon Aug 23 21:37:07 1999 Christopher Faylor <cgf@cygnus.com>
> * times.cc (timezone): Use __small_sprintf.
Did you test the change?
The format string uses the '+'-modifier and __small_sprintf doesn't know
this modifier. Therefor a '?' is inserted for the hour.
> 1999-08-23 DJ Delorie <dj@envy.delorie.com>
> (timezone): return TZ if set.
timezone() should return the timezone name not TZ.
e.g. At standard time it returns 'CST' and at daylight time 'CDT'.
If timezone() can not resolve the correct timezone name it should
return 'GMT+/-hh:mm'.
Regards
Norbert