[Bugs] #2707 UNSP: Moon activity should detect if timezone is GMT or UTC and warn nicely

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Mar 18 11:15:52 EDT 2011


#2707: Moon activity should detect if timezone is GMT or UTC and warn nicely
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  garycmartin                
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Moon                       |        Version:  0.92.x                     
    Severity:  Minor                      |       Keywords:                             
Status_field:  Needinfo                   |   Distribution:  OLPC                       
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by greenfeld):

 The "bug" really isn't a Moon bug, but rather an underlying part of how
 Sugar (and in some cases the underlying OS) behaves.

 Sugar 0.84 & 0.90 (as seen on XOs and F14 SoaS) seem to like overriding
 the current time zone by default and set it to GMT.  So all Sugar
 activities (including Terminal and Moon) think the current time zone is
 GMT.  These builds of Sugar let you set things to GMT+/- an offset (so
 GMT-3 is a valid timezone), but a user has to go in and manually do this,
 so we suspect most users do not do this.   Sugar only shows relative times
 in most places anyway, so users are not likely to notice unless they are
 using a Calendar activity or similar.

 Sugar 0.92 is a bit smarter about this (I'm not certain to what extent),
 and can use the timezone files like America/New_York, etc. in addition to
 the GMT+/- ones.  Still, stock XO builds default to UTC (or maybe an unset
 timezone?) for the underlying OS, so that's what Sugar defaults to.

 Sticking with GMT on the underlying OS results in Moon giving offset
 result times to what a local user might expect.  And this is hidden from
 users since Moon doesn't hint at what timezone is in use, or state what it
 thinks the local time is.

 For example, Moon tells me that the next full moon is "Sat Mar 19 14:10:00
 2011" for an XO where I set Sugar to use my local time zone, but "Sat Mar
 19 18:10:00 2011" for an XO defaulting to UTC.

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


More information about the Bugs mailing list