This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

timezone() errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]