#6338 NORM -: sugar.activity class should call locale.setlocale()

Zarro Boogs per Child bugtracker at laptop.org
Thu Sep 18 09:20:27 EDT 2008


#6338: sugar.activity class should call locale.setlocale()
----------------------------+-----------------------------------------------
   Reporter:  pierre        |       Owner:  sayamindu                             
       Type:  defect        |      Status:  new                                   
   Priority:  normal        |   Milestone:                                        
  Component:  localization  |     Version:  Q2D16                                 
 Resolution:                |    Keywords:  french date format localization locale
Next_action:  review        |    Verified:  0                                     
  Blockedby:                |    Blocking:                                        
----------------------------+-----------------------------------------------

Comment(by marco):

 The following works for me:

 {{{
 #!/usr/bin/env python
 import gtk
 from datetime import datetime
 print datetime.now().strftime("%x")
 }}}

 Note the "import gtk" at the top. Activities imports gtk...

 Have you seen any actual problem in activities which seems to be related
 to this?

-- 
Ticket URL: <http://dev.laptop.org/ticket/6338#comment:6>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list