#6338 NORM Never A: French date format is not correct

Zarro Boogs per Child bugtracker at laptop.org
Tue Feb 5 00:01:15 EST 2008


#6338: French date format is not correct
----------------------------------------------------+-----------------------
 Reporter:  pierre                                  |       Owner:  sayamindu     
     Type:  defect                                  |      Status:  new           
 Priority:  normal                                  |   Milestone:  Never Assigned
Component:  localization                            |     Version:  Build 653     
 Keywords:  french date format localization locale  |    Verified:  0             
 Blocking:                                          |   Blockedby:                
----------------------------------------------------+-----------------------
 When changing the locale to French/France, the date format is not correct.


 On the XO, I get:
 {{{
 $ date
 lun fév  4 23:38:11 EST 2008
 }}}


 I would expect a more Frenchy format like the one I get on my Debian
 server (notice that the day number "4" is between the day name "lundi" and
 the month name "février"):
 {{{
 $ date
 lundi 4 février 2008, 23:33:09 (UTC-0500)
 }}}


 Also, that small python program show that dates are displayed the American
 way (Month/Day/Year: 02/04/08) instead of the French one (Day/Month/Year:
 04/02/08):
 {{{
 #!/usr/bin/env python
 from datetime import datetime
 print datetime.now().strftime("%x")
 }}}


 In an activity, this date is displayed "04.02.2008" when one would expect
 "04/02/2008" (or "04/02/08" like run from the command line).


 When changing the locale to French/Canada, problems are similar but we
 should get the same formats as French/France. From the command line,
 results are as bad. From an activity, the date is displayed like
 "2008-02-05", which is definitely not usual.

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



More information about the Bugs mailing list