URL:
<http://savannah.gnu.org/bugs/?33455>
Summary: Time zone issue on Linux systems running in the UK
Project: GNUstep
Submitted by: wlux
Submitted on: Mi 01 Jun 2011 13:01:49 GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On a CentOS or Debian system configured to use Europe/London as its time zone,
NSTimeZone does not recognize when daylight saving time is in effect. E.g.,
the current time (using [NSCalendarTime date]) is reported as "2011-06-01
12:37:41 +0000", but should be reported as "2011-06-01 13:37:41 +0100". The
problem likely is that the time zone reported by [NSTimeZone systemTimeZone]
is "GMT+0000", for which [[NSTimeZone systemTime] isDaylightSavingTime]
returns NO.
This problem doesn't appear for other countries, e.g., for Europe/Lisbon I get
"2011-06-01 13:41:56 +0100". I also do not see the problem when running
GNUstep base under OS X.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33455>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep