[Bugs] #2195 UNSP: Control panel, timezone incorrectly calculated

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Sep 13 02:03:46 EDT 2010


#2195: Control panel, timezone incorrectly calculated
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  anurag_seeta               
        Type:  defect                     |         Status:  assigned                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  dextrose                   
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by quozl):

 Once "UTC+10" is selected, the value "UTC+10" is placed in the TZ
 variable, and is present in Terminal on next restart:

 {{{
 % echo $TZ
 UTC+10
 }}}

 However, this value does not give the desired result for the date command
 or using Pippy.  The effect is reversed, as can be seen on the shell
 prompt:

 {{{
 % TZ=UTC date
 Mon Sep 13 05:56:19
 % TZ=UTC+1 date
 Mon Sep 13 04:56:22
 }}}

 Therefore there is something strange about how libc is doing this.  To
 compensate, Sugar should reverse the sign on these before setting the
 timezone.

 Also, there are locations that use a UTC+13 and UTC+14 timezone, such as
 Tonga and Line Islands.  Yet UTC+13 and UTC+14 are not offered by Sugar.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2195#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list