[haiku-bugs] Re: [Haiku] #8350: "Time settings" use wrong offset from GMT during DST

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Feb 2012 22:24:38 -0000

#8350: "Time settings" use wrong offset from GMT during DST
-------------------------------+----------------------------
   Reporter:  axeld            |      Owner:  zooey
       Type:  bug              |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/Locale Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  0                |   Platform:  All
-------------------------------+----------------------------

Comment (by axeld):

 Sorry, I had thought you'd know at once what I was babbling about :-)

 When I set Germany as a timezone, the "Time settings" file contains the
 effective offset in seconds of when I set it. When I set "Germany" during
 DST, the offset is 7200, when I set it in the winter it's 3600. This
 offset doesn't change anymore then, which means it's obviously wrong half
 of the year.

 Anyway, with the 7200 as offset, the time was always an hour off, even
 when I set the hardware clock to local time. IIRC the time was also one
 hour off during DST. I don't know where the time is computed, but for this
 bug, AFAIK it only matters to write the correct offset into the archived
 message. I hope this actually helps, as I am a bit tired right now :-)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8350#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: