[haiku-bugs] Re: [Haiku] #6277: Deskbar doesn't update time settings

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 07 Jul 2010 20:24:52 -0000

#6277: Deskbar doesn't update time settings
-----------------------------------+----------------------------------------
  Reporter:  darkwyrm              |         Owner:  pulkomandy
      Type:  bug                   |        Status:  assigned  
  Priority:  normal                |     Milestone:  R1        
 Component:  Applications/Deskbar  |       Version:  R1/alpha2 
Resolution:                        |      Keywords:            
Blocked By:                        |   Has a Patch:  0         
  Platform:  All                   |      Blocking:            
-----------------------------------+----------------------------------------

Comment (by pulkomandy):

 Using the Locale kit and ICU, I had to drop the call to localtime(). This
 means ICU will now handle the timezone stuff. Unfortunately, it uses C++
 objects, and these will not automagically update when you change some
 setting. So we'll have to tell ICU when a change of timezone occurs, so it
 can update the default BCountry object.

 The other problem is the time preflet isn't aware of ICU yet, and could
 use it a lot more instead of messing with the timezone data directly.  So
 it is not easy to plug them together.

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

Other related posts: