[Bugs] #2538 UNSP: Moon does not localize date/time strings

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Dec 21 09:50:36 EST 2010


#2538: Moon does not localize date/time strings
------------------------------------------+---------------------------------
    Reporter:  walter                     |          Owner:  garycmartin                
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Moon                       |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by walter):

 time.strftime(locale.nl_langinfo(locale.D_T_FMT),time.localtime(t)) seems
 to do the right thing, where t is the time in seconds currently being
 passed to time.ctime

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


More information about the Bugs mailing list