Skip to content

Commit 8b29f45

Browse files
author
clescuyer
committed
Day names were mistakenly rotated in day_names and abbr_day_names arrays:
Day 0 should be Dimanche (Sunday), not Lundi (Monday). This means the French translation renders 2 May 2011 as Tuesday instead of Monday. Thanks to René Kalff for pointing this out.
1 parent 98027a0 commit 8b29f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rails/locale/fr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ fr:
1111
default: "%d/%m/%Y"
1212
short: "%e %b"
1313
long: "%e %B %Y"
14-
day_names: [lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche]
15-
abbr_day_names: [lun, mar, mer, jeu, ven, sam, dim]
14+
day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
15+
abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
1616
month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
1717
abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
1818
order: [ :day, :month, :year ]

0 commit comments

Comments
 (0)