bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33455] Time zone issue on Linux systems running in the UK


From: Wolfgang Lux
Subject: [bug #33455] Time zone issue on Linux systems running in the UK
Date: Thu, 02 Jun 2011 10:44:22 +0000
User-agent: Mozilla/5.0 (X11; U; Linux ppc; de; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17

Follow-up Comment #7, 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.

Sure. I was just suggesting to use this as a fallback before resorting to
tzname. This function seems to return only time zone abbreviations as well
(probably the ones contained in /etc/localtime), so we aren't able to display
proper time zone names in this case either. But at least we would be using the
correct timezone offsets.

> 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

Well, thanks, this at least solves my original problem.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]