Follow-up Comment #6, bug #33455 (project gnustep):

> could just try and read the time zone data from /etc/localtime if it exists?


Yes, that would give us working timezone offsets (so we could display the
correct date and hours/minutes), but it wouldn't give us the timezone name ...
so use/display of the zone name would be broken.

I've hacked in code for debian (to look in /etc/timezone) and redhat/centos
(to look in /etc/sysconfig/clock) for the name of the timezone ... of course
all this is horribly system dependent because there seems to be no portable
mechanism to obtain full timezone info.  The lack of a standard (and the need
for OpenStep compatibility) is the historical reason why gnustep-base provides
its own timezone data.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33455>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to