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

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


#2538: Moon does not localize date/time strings
------------------------------------------+---------------------------------
    Reporter:  walter                     |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  untriaged                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------
 In the display of the various 'Next' string, locale is not taken into
 consideration when displaying ctime. Thus the day and month abbreviated
 names are in English, despite the locale setting.

 We need to replace the called to ctime with a call strftime

 locale.nl_langinfo(locale.D_T_FMT) returns the formatting information you
 need.

 I've not quite figured out the proper syntax for putting it all together.

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


More information about the Bugs mailing list