Wrong date format in german locales results in defect datepicker
Hi,
I have a problem after setting my profil to german. On custemizing the date format there will be set a wrong variable for "day". %e is defined but should be %d.
After accepting %e I'm unable to set any dates. It will result for example in %e. May 2013.
Could confirm this in 2.2 and latest git.
Here my patch:
I have a problem after setting my profil to german. On custemizing the date format there will be set a wrong variable for "day". %e is defined but should be %d.
After accepting %e I'm unable to set any dates. It will result for example in %e. May 2013.
Could confirm this in 2.2 and latest git.
Here my patch:
--- config/locales/de.yml.org 2013-05-18 10:32:39.000000000 +0200
+++ config/locales/de.yml 2013-05-18 10:33:02.000000000 +0200
@@ -210,11 +210,11 @@
- Samstag
formats:
default: "%d.%m.%Y"
- long: "%e. %B %Y"
+ long: "%d. %B %Y"
longer: "%A, %d. %B %Y"
month_day: "%d. %B"
- only_day: "%e"
- short: "%e. %b"
+ only_day: "%d"
+ short: "%d. %b"
month_names:
- ~
- Januar
Leave a comment