Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Define date.formats.short_with_year for every locale (#3918)

Guillem Arias Faustee07cdb66164c
diff --git a/config/locales/defaults/af.yml b/config/locales/defaults/af.yml
index 856b2b2cd1..3f6b03d914 100644
--- a/config/locales/defaults/af.yml
+++ b/config/locales/defaults/af.yml
@@ -42,6 +42,7 @@ af:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- Januarie
diff --git a/config/locales/defaults/ar.yml b/config/locales/defaults/ar.yml
index 451aa32a38..058338ef37 100644
--- a/config/locales/defaults/ar.yml
+++ b/config/locales/defaults/ar.yml
@@ -42,6 +42,7 @@ ar:
default: "%d-%m-%Y"
long: "%e %B، %Y"
short: "%e %b"
+ short_with_year: "%-d %b، %Y"
month_names:
-
- يناير
diff --git a/config/locales/defaults/az.yml b/config/locales/defaults/az.yml
index 59331c4eb6..c69d6a8ff8 100644
--- a/config/locales/defaults/az.yml
+++ b/config/locales/defaults/az.yml
@@ -42,6 +42,7 @@ az:
default: "%d.%m.%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- Yanvar
diff --git a/config/locales/defaults/be.yml b/config/locales/defaults/be.yml
index f710927f41..c53dc536ae 100644
--- a/config/locales/defaults/be.yml
+++ b/config/locales/defaults/be.yml
@@ -42,6 +42,7 @@ be:
default: "%d.%m.%Y"
long: "%-d %B %Y"
short: "%-d %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- Студзень
diff --git a/config/locales/defaults/bg.yml b/config/locales/defaults/bg.yml
index 3aca5020c8..a42e921244 100644
--- a/config/locales/defaults/bg.yml
+++ b/config/locales/defaults/bg.yml
@@ -39,6 +39,7 @@ bg:
default: "%d.%m.%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- януари
diff --git a/config/locales/defaults/bn.yml b/config/locales/defaults/bn.yml
index 91a01b39ad..4d13a395f5 100644
--- a/config/locales/defaults/bn.yml
+++ b/config/locales/defaults/bn.yml
@@ -35,6 +35,7 @@ bn:
default: "%e/%m/%Y"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- জানুয়ারি
diff --git a/config/locales/defaults/bs.yml b/config/locales/defaults/bs.yml
index 5c1bb169c7..8e33049ef0 100644
--- a/config/locales/defaults/bs.yml
+++ b/config/locales/defaults/bs.yml
@@ -42,6 +42,7 @@ bs:
default: "%d.%m.%Y."
long: "%e. %B %Y."
short: "%e. %b. %Y."
+ short_with_year: "%-d. %b %Y."
month_names:
-
- januar
diff --git a/config/locales/defaults/cs.yml b/config/locales/defaults/cs.yml
index 63b1a9a443..95bba1e7ea 100644
--- a/config/locales/defaults/cs.yml
+++ b/config/locales/defaults/cs.yml
@@ -42,6 +42,7 @@ cs:
default: "%d. %m. %Y"
long: "%d. %B %Y"
short: "%d %b"
+ short_with_year: "%d. %b %Y"
month_names:
-
- Leden
diff --git a/config/locales/defaults/cy.yml b/config/locales/defaults/cy.yml
index bd0d11455e..d90eada27e 100644
--- a/config/locales/defaults/cy.yml
+++ b/config/locales/defaults/cy.yml
@@ -42,6 +42,7 @@ cy:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- Ionawr
diff --git a/config/locales/defaults/da.yml b/config/locales/defaults/da.yml
index 9b762891a6..2a4448eca2 100644
--- a/config/locales/defaults/da.yml
+++ b/config/locales/defaults/da.yml
@@ -42,6 +42,7 @@ da:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b %Y"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- januar
diff --git a/config/locales/defaults/de-AT.yml b/config/locales/defaults/de-AT.yml
index 615c8d1570..4a9407f845 100644
--- a/config/locales/defaults/de-AT.yml
+++ b/config/locales/defaults/de-AT.yml
@@ -43,6 +43,7 @@ de-AT:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- Jänner
diff --git a/config/locales/defaults/de-CH.yml b/config/locales/defaults/de-CH.yml
index c8de46c069..a3ff13fc91 100644
--- a/config/locales/defaults/de-CH.yml
+++ b/config/locales/defaults/de-CH.yml
@@ -43,6 +43,7 @@ de-CH:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- Januar
diff --git a/config/locales/defaults/de-DE.yml b/config/locales/defaults/de-DE.yml
index d74dcc29c3..c566e187d4 100644
--- a/config/locales/defaults/de-DE.yml
+++ b/config/locales/defaults/de-DE.yml
@@ -43,6 +43,7 @@ de-DE:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- Januar
diff --git a/config/locales/defaults/de.yml b/config/locales/defaults/de.yml
index abcfa9d78e..8c09479e94 100644
--- a/config/locales/defaults/de.yml
+++ b/config/locales/defaults/de.yml
@@ -52,6 +52,7 @@ de:
short: "%e. %b"
month_year: "%B %Y"
short_month_year: "%b %Y"
+ short_with_year: '%-d. %b %Y'
month_names:
-
- Januar
diff --git a/config/locales/defaults/dz.yml b/config/locales/defaults/dz.yml
index 05006a7e70..be9a18fce5 100644
--- a/config/locales/defaults/dz.yml
+++ b/config/locales/defaults/dz.yml
@@ -42,6 +42,7 @@ dz:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- ཟླཝ་དང་པ
diff --git a/config/locales/defaults/el-CY.yml b/config/locales/defaults/el-CY.yml
index 90efe56b7b..95c5f7a297 100644
--- a/config/locales/defaults/el-CY.yml
+++ b/config/locales/defaults/el-CY.yml
@@ -42,6 +42,7 @@ el-CY:
default: "%d/%m/%Y"
long: "%e %B %Y"
short: "%d %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- Ιανουάριος
diff --git a/config/locales/defaults/el.yml b/config/locales/defaults/el.yml
index 9a1012bf57..bc644f2f03 100644
--- a/config/locales/defaults/el.yml
+++ b/config/locales/defaults/el.yml
@@ -42,6 +42,7 @@ el:
default: "%d/%m/%Y"
long: "%e %B %Y"
short: "%d %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- Ιανουάριος
diff --git a/config/locales/defaults/en-AU.yml b/config/locales/defaults/en-AU.yml
index f17158a401..160e30767c 100644
--- a/config/locales/defaults/en-AU.yml
+++ b/config/locales/defaults/en-AU.yml
@@ -42,6 +42,7 @@ en-AU:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-CA.yml b/config/locales/defaults/en-CA.yml
index fdfc0b65af..56b87409a7 100644
--- a/config/locales/defaults/en-CA.yml
+++ b/config/locales/defaults/en-CA.yml
@@ -42,6 +42,7 @@ en-CA:
default: "%Y-%m-%d"
long: "%B %d, %Y"
short: "%d %b"
+ short_with_year: "%b %d, %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-CY.yml b/config/locales/defaults/en-CY.yml
index 867e60b974..5a28ef9dd0 100644
--- a/config/locales/defaults/en-CY.yml
+++ b/config/locales/defaults/en-CY.yml
@@ -42,6 +42,7 @@ en-CY:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-GB.yml b/config/locales/defaults/en-GB.yml
index c0b9952fba..d977c30e72 100644
--- a/config/locales/defaults/en-GB.yml
+++ b/config/locales/defaults/en-GB.yml
@@ -42,6 +42,7 @@ en-GB:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-IE.yml b/config/locales/defaults/en-IE.yml
index 0adc7592c9..e0f6941a33 100644
--- a/config/locales/defaults/en-IE.yml
+++ b/config/locales/defaults/en-IE.yml
@@ -42,6 +42,7 @@ en-IE:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-IN.yml b/config/locales/defaults/en-IN.yml
index 2a4da6de8a..7d767e432c 100644
--- a/config/locales/defaults/en-IN.yml
+++ b/config/locales/defaults/en-IN.yml
@@ -42,6 +42,7 @@ en-IN:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-NZ.yml b/config/locales/defaults/en-NZ.yml
index 4a0152f80c..38e550a528 100644
--- a/config/locales/defaults/en-NZ.yml
+++ b/config/locales/defaults/en-NZ.yml
@@ -42,6 +42,7 @@ en-NZ:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-TT.yml b/config/locales/defaults/en-TT.yml
index 88ac1ffec6..76b5e91074 100644
--- a/config/locales/defaults/en-TT.yml
+++ b/config/locales/defaults/en-TT.yml
@@ -42,6 +42,7 @@ en-TT:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-US.yml b/config/locales/defaults/en-US.yml
index 8f87b790c1..d41566bd5f 100644
--- a/config/locales/defaults/en-US.yml
+++ b/config/locales/defaults/en-US.yml
@@ -42,6 +42,7 @@ en-US:
default: "%m-%d-%Y"
long: "%B %d, %Y"
short: "%b %d"
+ short_with_year: "%b %d, %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/en-ZA.yml b/config/locales/defaults/en-ZA.yml
index ddc3392261..2a55a1a847 100644
--- a/config/locales/defaults/en-ZA.yml
+++ b/config/locales/defaults/en-ZA.yml
@@ -42,6 +42,7 @@ en-ZA:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- January
diff --git a/config/locales/defaults/eo.yml b/config/locales/defaults/eo.yml
index a44a48d66f..8c0d94869d 100644
--- a/config/locales/defaults/eo.yml
+++ b/config/locales/defaults/eo.yml
@@ -39,6 +39,7 @@ eo:
default: "%Y/%m/%d"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- januaro
diff --git a/config/locales/defaults/es-419.yml b/config/locales/defaults/es-419.yml
index f94e627393..efdd6445f6 100644
--- a/config/locales/defaults/es-419.yml
+++ b/config/locales/defaults/es-419.yml
@@ -43,6 +43,7 @@ es-419:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-AR.yml b/config/locales/defaults/es-AR.yml
index f387f84b59..fdf6d386d2 100644
--- a/config/locales/defaults/es-AR.yml
+++ b/config/locales/defaults/es-AR.yml
@@ -42,6 +42,7 @@ es-AR:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-CL.yml b/config/locales/defaults/es-CL.yml
index 615d9cc810..9242d25464 100644
--- a/config/locales/defaults/es-CL.yml
+++ b/config/locales/defaults/es-CL.yml
@@ -42,6 +42,7 @@ es-CL:
default: "%d/%m/%Y"
long: "%A %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-CO.yml b/config/locales/defaults/es-CO.yml
index 10c59f8efe..eee0d8c030 100644
--- a/config/locales/defaults/es-CO.yml
+++ b/config/locales/defaults/es-CO.yml
@@ -42,6 +42,7 @@ es-CO:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-CR.yml b/config/locales/defaults/es-CR.yml
index 4d3aacad61..ee75aaad65 100644
--- a/config/locales/defaults/es-CR.yml
+++ b/config/locales/defaults/es-CR.yml
@@ -42,6 +42,7 @@ es-CR:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-EC.yml b/config/locales/defaults/es-EC.yml
index 7828f67677..0e5de30595 100644
--- a/config/locales/defaults/es-EC.yml
+++ b/config/locales/defaults/es-EC.yml
@@ -43,6 +43,7 @@ es-EC:
default: "%-d/%m/%Y"
long: "%A, %-d de %B de %Y"
short: "%-d de %b"
+ short_with_year: "%-d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-ES.yml b/config/locales/defaults/es-ES.yml
index f2a5ddfd61..e73b49f315 100644
--- a/config/locales/defaults/es-ES.yml
+++ b/config/locales/defaults/es-ES.yml
@@ -42,6 +42,7 @@ es-ES:
default: "%d/%m/%Y"
long: "%d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-MX.yml b/config/locales/defaults/es-MX.yml
index 5827ee2087..f364f4cf60 100644
--- a/config/locales/defaults/es-MX.yml
+++ b/config/locales/defaults/es-MX.yml
@@ -42,6 +42,7 @@ es-MX:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-NI.yml b/config/locales/defaults/es-NI.yml
index ce3acf9283..577d412100 100644
--- a/config/locales/defaults/es-NI.yml
+++ b/config/locales/defaults/es-NI.yml
@@ -42,6 +42,7 @@ es-NI:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-PA.yml b/config/locales/defaults/es-PA.yml
index d6337c0a07..b716f7d9ff 100644
--- a/config/locales/defaults/es-PA.yml
+++ b/config/locales/defaults/es-PA.yml
@@ -43,6 +43,7 @@ es-PA:
default: "%-d/%-m/%Y"
long: "%A, %-d de %B de %Y"
short: "%-d de %b"
+ short_with_year: "%-d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-PE.yml b/config/locales/defaults/es-PE.yml
index 0d2b54e805..187356ae4a 100644
--- a/config/locales/defaults/es-PE.yml
+++ b/config/locales/defaults/es-PE.yml
@@ -42,6 +42,7 @@ es-PE:
default: "%d/%m/%Y"
long: "%A, %d de %B del %Y"
short: "%d de %b"
+ short_with_year: "%d de %b del %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-US.yml b/config/locales/defaults/es-US.yml
index 5fdc5964ee..7199088803 100644
--- a/config/locales/defaults/es-US.yml
+++ b/config/locales/defaults/es-US.yml
@@ -42,6 +42,7 @@ es-US:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es-VE.yml b/config/locales/defaults/es-VE.yml
index 483ffcaf67..0274ceee54 100644
--- a/config/locales/defaults/es-VE.yml
+++ b/config/locales/defaults/es-VE.yml
@@ -42,6 +42,7 @@ es-VE:
default: "%d/%m/%Y"
long: "%A, %d de %B de %Y"
short: "%d de %b"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- enero
diff --git a/config/locales/defaults/es.yml b/config/locales/defaults/es.yml
index ad0d118734..391fccd05c 100644
--- a/config/locales/defaults/es.yml
+++ b/config/locales/defaults/es.yml
@@ -51,6 +51,7 @@ es:
short: '%-d de %b'
month_year: '%B de %Y'
short_month_year: '%b %Y'
+ short_with_year: '%-d de %b de %Y'
month_names:
-
- enero
diff --git a/config/locales/defaults/et.yml b/config/locales/defaults/et.yml
index 6b0e17c6f7..c5d8a0ac36 100644
--- a/config/locales/defaults/et.yml
+++ b/config/locales/defaults/et.yml
@@ -42,6 +42,7 @@ et:
default: "%d.%m.%Y"
long: "%d. %B %Y"
short: "%d.%m.%y"
+ short_with_year: "%d. %b %Y"
month_names:
-
- jaanuar
diff --git a/config/locales/defaults/eu.yml b/config/locales/defaults/eu.yml
index fe4d2fbce0..4f2b6beba3 100644
--- a/config/locales/defaults/eu.yml
+++ b/config/locales/defaults/eu.yml
@@ -42,6 +42,7 @@ eu:
default: "%Y/%m/%e"
long: "%Y(e)ko %Bk %e"
short: "%b %e"
+ short_with_year: "%Y(e)ko %b %-d"
month_names:
-
- Urtarrila
diff --git a/config/locales/defaults/fa.yml b/config/locales/defaults/fa.yml
index d38a03907b..09ef1ec7b4 100644
--- a/config/locales/defaults/fa.yml
+++ b/config/locales/defaults/fa.yml
@@ -43,6 +43,7 @@ fa:
default: "%Y/%m/%d"
long: "%e %B %Y"
short: "%m/%d"
+ short_with_year: "%-d %b %Y"
month_names:
-
- ژانویه
diff --git a/config/locales/defaults/fi.yml b/config/locales/defaults/fi.yml
index 3e6919bae7..ceac800961 100644
--- a/config/locales/defaults/fi.yml
+++ b/config/locales/defaults/fi.yml
@@ -42,6 +42,7 @@ fi:
default: "%-d.%-m.%Y"
long: "%d. %Bta %Y"
short: "%d. %b"
+ short_with_year: "%d. %b %Y"
month_names:
-
- tammikuu
diff --git a/config/locales/defaults/fr-CA.yml b/config/locales/defaults/fr-CA.yml
index 99e30ba9b5..535547cadd 100644
--- a/config/locales/defaults/fr-CA.yml
+++ b/config/locales/defaults/fr-CA.yml
@@ -44,6 +44,7 @@ fr-CA:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%y-%m-%d"
+ short_with_year: "%d %b %Y"
month_names:
-
- janvier
diff --git a/config/locales/defaults/fr-CH.yml b/config/locales/defaults/fr-CH.yml
index 8b655a9d8c..a777688d21 100644
--- a/config/locales/defaults/fr-CH.yml
+++ b/config/locales/defaults/fr-CH.yml
@@ -44,6 +44,7 @@ fr-CH:
default: "%d.%m.%Y"
long: "%-d %B %Y"
short: "%-d %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- janvier
diff --git a/config/locales/defaults/fr-FR.yml b/config/locales/defaults/fr-FR.yml
index ea3c0a8571..87d504934f 100644
--- a/config/locales/defaults/fr-FR.yml
+++ b/config/locales/defaults/fr-FR.yml
@@ -44,6 +44,7 @@ fr-FR:
default: "%d/%m/%Y"
long: "%-d %B %Y"
short: "%-d %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- janvier
diff --git a/config/locales/defaults/fy.yml b/config/locales/defaults/fy.yml
index 0d11a3a829..3727252ed1 100644
--- a/config/locales/defaults/fy.yml
+++ b/config/locales/defaults/fy.yml
@@ -43,6 +43,7 @@ fy:
default: "%d-%m-%Y"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- jannewaris
diff --git a/config/locales/defaults/gd.yml b/config/locales/defaults/gd.yml
index 15709f36bf..8b00a25717 100644
--- a/config/locales/defaults/gd.yml
+++ b/config/locales/defaults/gd.yml
@@ -44,6 +44,7 @@ gd:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- Am Faoilleach
diff --git a/config/locales/defaults/gl.yml b/config/locales/defaults/gl.yml
index de4ef9f296..c58499870d 100644
--- a/config/locales/defaults/gl.yml
+++ b/config/locales/defaults/gl.yml
@@ -35,6 +35,7 @@ gl:
default: "%e/%m/%Y"
long: "%A %e de %B de %Y"
short: "%e %b"
+ short_with_year: "%-d de %b de %Y"
month_names:
-
- Xaneiro
diff --git a/config/locales/defaults/he.yml b/config/locales/defaults/he.yml
index 609a2480e2..937f6db1d0 100644
--- a/config/locales/defaults/he.yml
+++ b/config/locales/defaults/he.yml
@@ -39,6 +39,7 @@ he:
default: "%d-%m-%Y"
long: "%e ב%B, %Y"
short: "%e %b"
+ short_with_year: "%-d ב%b, %Y"
month_names:
-
- ינואר
diff --git a/config/locales/defaults/hi-IN.yml b/config/locales/defaults/hi-IN.yml
index 22c9be7d2a..01e9ca1f5c 100644
--- a/config/locales/defaults/hi-IN.yml
+++ b/config/locales/defaults/hi-IN.yml
@@ -39,6 +39,7 @@ hi-IN:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- जनवरी
diff --git a/config/locales/defaults/hi.yml b/config/locales/defaults/hi.yml
index b1938b9ff7..3143619283 100644
--- a/config/locales/defaults/hi.yml
+++ b/config/locales/defaults/hi.yml
@@ -39,6 +39,7 @@ hi:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- जनवरी
diff --git a/config/locales/defaults/hr.yml b/config/locales/defaults/hr.yml
index e8654a82cd..c4803a56a7 100644
--- a/config/locales/defaults/hr.yml
+++ b/config/locales/defaults/hr.yml
@@ -42,6 +42,7 @@ hr:
default: "%d.%m.%Y."
long: "%e. %B %Y."
short: "%e.%-m."
+ short_with_year: "%-d. %b %Y."
month_names:
-
- siječnja
diff --git a/config/locales/defaults/hu.yml b/config/locales/defaults/hu.yml
index 4cebde9c15..35408ae156 100644
--- a/config/locales/defaults/hu.yml
+++ b/config/locales/defaults/hu.yml
@@ -39,6 +39,7 @@ hu:
default: "%Y.%m.%d."
long: "%Y. %B %e."
short: "%b %e."
+ short_with_year: '%Y. %b %d.'
month_names:
-
- január
diff --git a/config/locales/defaults/id.yml b/config/locales/defaults/id.yml
index 200173fc84..a59197a72a 100644
--- a/config/locales/defaults/id.yml
+++ b/config/locales/defaults/id.yml
@@ -43,6 +43,7 @@ id:
default: "%d %B %Y"
long: "%A, %d %B %Y"
short: "%d.%m.%Y"
+ short_with_year: "%d %b %Y"
month_names:
-
- Januari
diff --git a/config/locales/defaults/is.yml b/config/locales/defaults/is.yml
index a48926f0fd..3b861eda3f 100644
--- a/config/locales/defaults/is.yml
+++ b/config/locales/defaults/is.yml
@@ -42,6 +42,7 @@ is:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- janúar
diff --git a/config/locales/defaults/it-CH.yml b/config/locales/defaults/it-CH.yml
index e6e206da5c..2a9cc93a3e 100644
--- a/config/locales/defaults/it-CH.yml
+++ b/config/locales/defaults/it-CH.yml
@@ -44,6 +44,7 @@ it-CH:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- Gennaio
diff --git a/config/locales/defaults/it.yml b/config/locales/defaults/it.yml
index 5cb8634649..1a9df8cf80 100644
--- a/config/locales/defaults/it.yml
+++ b/config/locales/defaults/it.yml
@@ -53,6 +53,7 @@ it:
short: "%d %b"
month_year: "%B %Y"
short_month_year: "%b %Y"
+ short_with_year: '%d %b %Y'
month_names:
-
- gennaio
diff --git a/config/locales/defaults/ja.yml b/config/locales/defaults/ja.yml
index a6cd6e1886..9fafea94dc 100644
--- a/config/locales/defaults/ja.yml
+++ b/config/locales/defaults/ja.yml
@@ -42,6 +42,7 @@ ja:
default: "%Y/%m/%d"
long: "%Y年%m月%d日(%a)"
short: "%m/%d"
+ short_with_year: "%Y年%m月%d日"
month_names:
-
- 1月
diff --git a/config/locales/defaults/ka.yml b/config/locales/defaults/ka.yml
index 4c800448c7..c31c01fc65 100644
--- a/config/locales/defaults/ka.yml
+++ b/config/locales/defaults/ka.yml
@@ -39,6 +39,7 @@ ka:
default: "%d.%m.%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- იანვარი
diff --git a/config/locales/defaults/kk.yml b/config/locales/defaults/kk.yml
index 1ac579484e..18d034a5c8 100644
--- a/config/locales/defaults/kk.yml
+++ b/config/locales/defaults/kk.yml
@@ -42,6 +42,7 @@ kk:
default: "%d.%m.%Y"
long: "%-d %B %Y"
short: "%-d %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- каңтар
diff --git a/config/locales/defaults/km.yml b/config/locales/defaults/km.yml
index 8ab6abf95d..d74cc3d6f6 100644
--- a/config/locales/defaults/km.yml
+++ b/config/locales/defaults/km.yml
@@ -42,6 +42,7 @@ km:
default: "%d %B %Y"
long: ថ្ងៃ%A ទី%e ខែ%B ឆ្នាំ%Y
short: "%d %b"
+ short_with_year: ទី%-d ខែ%b ឆ្នាំ%Y
month_names:
-
- មករា
diff --git a/config/locales/defaults/kn.yml b/config/locales/defaults/kn.yml
index 6ecd88b091..fec94c6d6c 100644
--- a/config/locales/defaults/kn.yml
+++ b/config/locales/defaults/kn.yml
@@ -39,6 +39,7 @@ kn:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- ಜನವರಿ
diff --git a/config/locales/defaults/ko.yml b/config/locales/defaults/ko.yml
index 9c3612a885..106ba8a5e8 100644
--- a/config/locales/defaults/ko.yml
+++ b/config/locales/defaults/ko.yml
@@ -42,6 +42,7 @@ ko:
default: "%Y-%m-%d"
long: "%Y년 %m월 %d일"
short: "%m월 %d일"
+ short_with_year: "%Y년 %m월 %d일"
month_names:
-
- 1월
diff --git a/config/locales/defaults/lb.yml b/config/locales/defaults/lb.yml
index f79b3f0435..60a1557100 100644
--- a/config/locales/defaults/lb.yml
+++ b/config/locales/defaults/lb.yml
@@ -44,6 +44,7 @@ lb:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- Januar
diff --git a/config/locales/defaults/lo.yml b/config/locales/defaults/lo.yml
index 03cd9249a8..b193248ea9 100644
--- a/config/locales/defaults/lo.yml
+++ b/config/locales/defaults/lo.yml
@@ -39,6 +39,7 @@ lo:
default: "%d-%m-%Y"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- ມັງກອນ
diff --git a/config/locales/defaults/lt.yml b/config/locales/defaults/lt.yml
index 0dd57cb836..fcf978747f 100644
--- a/config/locales/defaults/lt.yml
+++ b/config/locales/defaults/lt.yml
@@ -42,6 +42,7 @@ lt:
default: "%Y-%m-%d"
long: "%Y m. %B %d d."
short: "%b %d"
+ short_with_year: "%Y m. %b %d d."
month_names:
-
- sausio
diff --git a/config/locales/defaults/lv.yml b/config/locales/defaults/lv.yml
index 29b47b1fc4..a6335a26b9 100644
--- a/config/locales/defaults/lv.yml
+++ b/config/locales/defaults/lv.yml
@@ -42,6 +42,7 @@ lv:
default: "%d.%m.%Y."
long: "%Y. gada %e. %B"
short: "%e. %B"
+ short_with_year: "%Y. gada %-d. %b"
month_names:
-
- janvārī
diff --git a/config/locales/defaults/mg.yml b/config/locales/defaults/mg.yml
index 86489a91a6..05f123455b 100644
--- a/config/locales/defaults/mg.yml
+++ b/config/locales/defaults/mg.yml
@@ -44,6 +44,7 @@ mg:
default: "%d/%m/%Y"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- janoary
diff --git a/config/locales/defaults/mk.yml b/config/locales/defaults/mk.yml
index 66ae489fda..bc52554b6d 100644
--- a/config/locales/defaults/mk.yml
+++ b/config/locales/defaults/mk.yml
@@ -39,6 +39,7 @@ mk:
default: "%d/%m/%Y"
long: "%B %e, %Y"
short: "%e %b"
+ short_with_year: "%b %-d, %Y"
month_names:
-
- Јануари
diff --git a/config/locales/defaults/ml.yml b/config/locales/defaults/ml.yml
index f4a7eb68a8..e40074bf28 100644
--- a/config/locales/defaults/ml.yml
+++ b/config/locales/defaults/ml.yml
@@ -42,6 +42,7 @@ ml:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- ജനുവരി
diff --git a/config/locales/defaults/mn.yml b/config/locales/defaults/mn.yml
index fbcf0ba154..e2b62e5bde 100644
--- a/config/locales/defaults/mn.yml
+++ b/config/locales/defaults/mn.yml
@@ -39,6 +39,7 @@ mn:
default: "%Y-%m-%d"
long: "%Y %B %d"
short: "%y-%m-%d"
+ short_with_year: "%Y %b %d"
month_names:
-
- 1 сар
diff --git a/config/locales/defaults/mr-IN.yml b/config/locales/defaults/mr-IN.yml
index 2e8d2460de..cc02e88286 100644
--- a/config/locales/defaults/mr-IN.yml
+++ b/config/locales/defaults/mr-IN.yml
@@ -42,6 +42,7 @@ mr-IN:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- जानेवारी
diff --git a/config/locales/defaults/ms.yml b/config/locales/defaults/ms.yml
index 39f2609276..53b0b6c732 100644
--- a/config/locales/defaults/ms.yml
+++ b/config/locales/defaults/ms.yml
@@ -39,6 +39,7 @@ ms:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- Januari
diff --git a/config/locales/defaults/nb.yml b/config/locales/defaults/nb.yml
index c290fab34e..c3bfe0ad6a 100644
--- a/config/locales/defaults/nb.yml
+++ b/config/locales/defaults/nb.yml
@@ -45,6 +45,7 @@ nb:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- Januar
diff --git a/config/locales/defaults/ne.yml b/config/locales/defaults/ne.yml
index f61e711d26..7420762869 100644
--- a/config/locales/defaults/ne.yml
+++ b/config/locales/defaults/ne.yml
@@ -42,6 +42,7 @@ ne:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- जनवरी
diff --git a/config/locales/defaults/nl.yml b/config/locales/defaults/nl.yml
index 1e2836230f..b3ab44c0a5 100644
--- a/config/locales/defaults/nl.yml
+++ b/config/locales/defaults/nl.yml
@@ -42,6 +42,7 @@ nl:
default: "%d-%m-%Y"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: '%-d %b %Y'
month_names:
-
- Januari
diff --git a/config/locales/defaults/nn.yml b/config/locales/defaults/nn.yml
index 6644d61771..d43c75e804 100644
--- a/config/locales/defaults/nn.yml
+++ b/config/locales/defaults/nn.yml
@@ -42,6 +42,7 @@ nn:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- januar
diff --git a/config/locales/defaults/oc.yml b/config/locales/defaults/oc.yml
index 5bec07ad56..b6cdc72bf4 100644
--- a/config/locales/defaults/oc.yml
+++ b/config/locales/defaults/oc.yml
@@ -42,6 +42,7 @@ oc:
default: "%e/%m/%Y"
long: Lo %e %B de %Y
short: "%e %b"
+ short_with_year: Lo %-d %b de %Y
month_names:
-
- de genièr
diff --git a/config/locales/defaults/or.yml b/config/locales/defaults/or.yml
index 00cdc133ad..00d4410b45 100644
--- a/config/locales/defaults/or.yml
+++ b/config/locales/defaults/or.yml
@@ -39,6 +39,7 @@ or:
default: "%Y-%m-%d"
long: "%B %d, %Y"
short: "%b %d"
+ short_with_year: "%b %d, %Y"
month_names:
-
- ଜାନୁୟାରୀ
diff --git a/config/locales/defaults/pa.yml b/config/locales/defaults/pa.yml
index 235a2c4634..85ccebdd3a 100644
--- a/config/locales/defaults/pa.yml
+++ b/config/locales/defaults/pa.yml
@@ -42,6 +42,7 @@ pa:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- ਜਨਵਰੀ
diff --git a/config/locales/defaults/pt-BR.yml b/config/locales/defaults/pt-BR.yml
index d0b8958247..25842eecc1 100644
--- a/config/locales/defaults/pt-BR.yml
+++ b/config/locales/defaults/pt-BR.yml
@@ -42,6 +42,7 @@ pt-BR:
default: "%d/%m/%Y"
long: "%d de %B de %Y"
short: "%d de %B"
+ short_with_year: '%d %b %Y'
month_names:
-
- janeiro
diff --git a/config/locales/defaults/pt-PT.yml b/config/locales/defaults/pt-PT.yml
index e4f33d2952..7a437f7c2c 100644
--- a/config/locales/defaults/pt-PT.yml
+++ b/config/locales/defaults/pt-PT.yml
@@ -55,6 +55,7 @@ pt-PT:
short: "%d de %B"
month_year: "%B %Y"
short_month_year: "%b %Y"
+ short_with_year: '%d %b %Y'
month_names:
-
- janeiro
diff --git a/config/locales/defaults/pt.yml b/config/locales/defaults/pt.yml
index 511cda6ada..5c624a3396 100644
--- a/config/locales/defaults/pt.yml
+++ b/config/locales/defaults/pt.yml
@@ -42,6 +42,7 @@ pt:
default: "%d/%m/%Y"
long: "%d de %B de %Y"
short: "%d de %B"
+ short_with_year: "%d de %b de %Y"
month_names:
-
- janeiro
diff --git a/config/locales/defaults/rm.yml b/config/locales/defaults/rm.yml
index 258d65dac3..ead2843f71 100644
--- a/config/locales/defaults/rm.yml
+++ b/config/locales/defaults/rm.yml
@@ -35,6 +35,7 @@ rm:
default: "%d.%m.%Y"
long: "%e. %B %Y"
short: "%e. %b"
+ short_with_year: "%-d. %b %Y"
month_names:
-
- schaner
diff --git a/config/locales/defaults/ro.yml b/config/locales/defaults/ro.yml
index 06daab8d77..fdd8c775f1 100644
--- a/config/locales/defaults/ro.yml
+++ b/config/locales/defaults/ro.yml
@@ -39,6 +39,7 @@ ro:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- ianuarie
diff --git a/config/locales/defaults/sc.yml b/config/locales/defaults/sc.yml
index 1dd12995c3..49110cd934 100644
--- a/config/locales/defaults/sc.yml
+++ b/config/locales/defaults/sc.yml
@@ -44,6 +44,7 @@ sc:
default: "%d/%m/%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- ghennàrgiu
diff --git a/config/locales/defaults/sk.yml b/config/locales/defaults/sk.yml
index 0f64e9e68e..c23d381204 100644
--- a/config/locales/defaults/sk.yml
+++ b/config/locales/defaults/sk.yml
@@ -39,6 +39,7 @@ sk:
default: "%d.%m.%Y"
long: "%d. %B %Y"
short: "%d %b"
+ short_with_year: "%d. %b %Y"
month_names:
-
- Január
diff --git a/config/locales/defaults/sl.yml b/config/locales/defaults/sl.yml
index b3637a33ce..5dc692c6f8 100644
--- a/config/locales/defaults/sl.yml
+++ b/config/locales/defaults/sl.yml
@@ -39,6 +39,7 @@ sl:
default: "%d.%m.%Y"
long: "%d. %b %Y"
short: "%d. %b"
+ short_with_year: "%d. %b %Y"
month_names:
-
- januar
diff --git a/config/locales/defaults/sq.yml b/config/locales/defaults/sq.yml
index 6cae60d88e..df379b2305 100644
--- a/config/locales/defaults/sq.yml
+++ b/config/locales/defaults/sq.yml
@@ -43,6 +43,7 @@ sq:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- Janar
diff --git a/config/locales/defaults/sr.yml b/config/locales/defaults/sr.yml
index f4ab27c2af..74ac92264c 100644
--- a/config/locales/defaults/sr.yml
+++ b/config/locales/defaults/sr.yml
@@ -42,6 +42,7 @@ sr:
default: "%d/%m/%Y"
long: "%B %e, %Y"
short: "%e %b"
+ short_with_year: "%b %-d, %Y"
month_names:
-
- Јануар
diff --git a/config/locales/defaults/st.yml b/config/locales/defaults/st.yml
index 509fd55ced..1c0474c293 100644
--- a/config/locales/defaults/st.yml
+++ b/config/locales/defaults/st.yml
@@ -42,6 +42,7 @@ st:
default: "%Y-%m-%d"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- Pherekhong
diff --git a/config/locales/defaults/sv-FI.yml b/config/locales/defaults/sv-FI.yml
index e4445494b6..75967c6d17 100644
--- a/config/locales/defaults/sv-FI.yml
+++ b/config/locales/defaults/sv-FI.yml
@@ -42,6 +42,7 @@ sv-FI:
default: "%-d.%-m.%Y"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- januari
diff --git a/config/locales/defaults/sv-SE.yml b/config/locales/defaults/sv-SE.yml
index 9bf91c5e94..7fb2b5c6af 100644
--- a/config/locales/defaults/sv-SE.yml
+++ b/config/locales/defaults/sv-SE.yml
@@ -42,6 +42,7 @@ sv-SE:
default: "%Y-%m-%d"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- januari
diff --git a/config/locales/defaults/sv.yml b/config/locales/defaults/sv.yml
index c4289feade..ef2164152d 100644
--- a/config/locales/defaults/sv.yml
+++ b/config/locales/defaults/sv.yml
@@ -42,6 +42,7 @@ sv:
default: "%Y-%m-%d"
long: "%e %B %Y"
short: "%e %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- januari
diff --git a/config/locales/defaults/sw.yml b/config/locales/defaults/sw.yml
index 5e3bebbdd8..b8ed956056 100644
--- a/config/locales/defaults/sw.yml
+++ b/config/locales/defaults/sw.yml
@@ -39,6 +39,7 @@ sw:
default: "%d-%m-%Y"
long: "%e %B, %Y"
short: "%e %b"
+ short_with_year: "%-d %b, %Y"
month_names:
-
- Mwezi wa kwanza
diff --git a/config/locales/defaults/ta.yml b/config/locales/defaults/ta.yml
index 70fb166ff9..8ea39208d5 100644
--- a/config/locales/defaults/ta.yml
+++ b/config/locales/defaults/ta.yml
@@ -42,6 +42,7 @@ ta:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- ஜனவரி
diff --git a/config/locales/defaults/te.yml b/config/locales/defaults/te.yml
index 531620aaa2..add540bbf6 100644
--- a/config/locales/defaults/te.yml
+++ b/config/locales/defaults/te.yml
@@ -42,6 +42,7 @@ te:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- జనవరి
diff --git a/config/locales/defaults/th.yml b/config/locales/defaults/th.yml
index 1583cf3352..ed2de8b6fb 100644
--- a/config/locales/defaults/th.yml
+++ b/config/locales/defaults/th.yml
@@ -39,6 +39,7 @@ th:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- มกราคม
diff --git a/config/locales/defaults/tl.yml b/config/locales/defaults/tl.yml
index e4af0ba76f..bdf51b60ff 100644
--- a/config/locales/defaults/tl.yml
+++ b/config/locales/defaults/tl.yml
@@ -39,6 +39,7 @@ tl:
default: "%d/%m/%Y"
long: ika-%d ng %B, %Y
short: ika-%d ng %b
+ short_with_year: ika-%d ng %b, %Y
month_names:
-
- Enero
diff --git a/config/locales/defaults/tr.yml b/config/locales/defaults/tr.yml
index 85d2ea3abc..29421e4a06 100644
--- a/config/locales/defaults/tr.yml
+++ b/config/locales/defaults/tr.yml
@@ -44,7 +44,7 @@ tr:
month_year: "%B %Y"
short: "%e %b"
short_month_year: "%b %Y"
- short_with_year: '%e %b %Y'
+ short_with_year: '%-d %b %Y'
month_names:
-
- Ocak
diff --git a/config/locales/defaults/tt.yml b/config/locales/defaults/tt.yml
index 7f256b1420..7d83f97a3a 100644
--- a/config/locales/defaults/tt.yml
+++ b/config/locales/defaults/tt.yml
@@ -42,6 +42,7 @@ tt:
default: "%d.%m.%Y"
long: "%-d %B %Y"
short: "%-d %b"
+ short_with_year: "%-d %b %Y"
month_names:
-
- гыйнвар
diff --git a/config/locales/defaults/ug.yml b/config/locales/defaults/ug.yml
index 85d835cea7..74bb9f8d9e 100644
--- a/config/locales/defaults/ug.yml
+++ b/config/locales/defaults/ug.yml
@@ -42,6 +42,7 @@ ug:
default: "%Y-%m-%d"
long: "%Y-%m-%d"
short: "%b%d"
+ short_with_year: "%Y-%m-%d"
month_names:
-
- يانۋار
diff --git a/config/locales/defaults/ur.yml b/config/locales/defaults/ur.yml
index 5ffd61551e..2efb7c8ce6 100644
--- a/config/locales/defaults/ur.yml
+++ b/config/locales/defaults/ur.yml
@@ -44,6 +44,7 @@ ur:
default: "%d %B %Y"
long: "%d %B، %Y"
short: "%d %b"
+ short_with_year: "%d %b، %Y"
month_names:
-
- جنوری
diff --git a/config/locales/defaults/uz.yml b/config/locales/defaults/uz.yml
index b960fa10b9..15215729f3 100644
--- a/config/locales/defaults/uz.yml
+++ b/config/locales/defaults/uz.yml
@@ -39,6 +39,7 @@ uz:
default: "%d.%m.%Y"
long: "%d %B %Y"
short: "%d %b"
+ short_with_year: "%d %b %Y"
month_names:
-
- yanvar
diff --git a/config/locales/defaults/vi.yml b/config/locales/defaults/vi.yml
index 28615a45df..da90e48cf8 100644
--- a/config/locales/defaults/vi.yml
+++ b/config/locales/defaults/vi.yml
@@ -42,6 +42,7 @@ vi:
default: "%d-%m-%Y"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: '%d %b, %Y'
month_names:
-
- Tháng một
diff --git a/config/locales/defaults/wo.yml b/config/locales/defaults/wo.yml
index 47e721cc60..7c50ac1e98 100644
--- a/config/locales/defaults/wo.yml
+++ b/config/locales/defaults/wo.yml
@@ -42,6 +42,7 @@ wo:
default: "%Y-%m-%d"
long: "%d %B, %Y"
short: "%d %b"
+ short_with_year: "%d %b, %Y"
month_names:
-
- Tamkharit
diff --git a/config/locales/defaults/zh-CN.yml b/config/locales/defaults/zh-CN.yml
index 395922fc0a..65c4cfb2f4 100644
--- a/config/locales/defaults/zh-CN.yml
+++ b/config/locales/defaults/zh-CN.yml
@@ -51,6 +51,7 @@ zh-CN:
month_year: "%Y年%m月"
short: "%m月%d日"
short_month_year: "%Y年%m月"
+ short_with_year: '%Y年%m月%d日'
month_names:
-
- 一月
diff --git a/config/locales/defaults/zh-TW.yml b/config/locales/defaults/zh-TW.yml
index 213aa8ccc4..1372a960fc 100644
--- a/config/locales/defaults/zh-TW.yml
+++ b/config/locales/defaults/zh-TW.yml
@@ -51,6 +51,7 @@ zh-TW:
short: '%m月%d日'
month_year: '%Y年%-m月'
short_month_year: '%Y年%b'
+ short_with_year: '%Y年%m月%d日'
month_names:
- null
- 一月
diff --git a/test/i18n_test.rb b/test/i18n_test.rb
index 6af763896e..2592a88e8f 100644
--- a/test/i18n_test.rb
+++ b/test/i18n_test.rb
@@ -1,3 +1,4 @@
+require "test_helper"
require "i18n/tasks"
require "pathname"
require "yaml"
@@ -92,6 +93,34 @@ class I18nTest < ActiveSupport::TestCase
"#{offenses.map { |offense| " #{offense}" }.join("\n")}"
end
+ # Fallbacks would hand a locale without :short_with_year the English
+ # "%b %d, %Y", month first, so check each locale without them.
+ def test_short_with_year_date_format_exists_for_each_locale
+ locales = Dir[File.expand_path("../config/locales/defaults/*.yml", __dir__)].map { |file| File.basename(file, ".yml") }
+ missing = locales.sort.reject do |locale|
+ I18n.t("date.formats.short_with_year", locale: locale, fallback: false, default: nil)
+ end
+
+ assert_empty missing, "date.formats.short_with_year is missing for: #{missing.join(", ")}"
+ end
+
+ def test_short_with_year_follows_the_locale
+ assert_equal "5. Jan 2027", I18n.l(Date.new(2027, 1, 5), format: :short_with_year, locale: :de)
+ # The abbreviation takes no case suffix: "tammita" and "Urtk" aren't words.
+ assert_equal "05. tammi 2027", I18n.l(Date.new(2027, 1, 5), format: :short_with_year, locale: :fi)
+ assert_equal "2027(e)ko Urt 5", I18n.l(Date.new(2027, 1, 5), format: :short_with_year, locale: :eu)
+ end
+
+ # %e pads a single-digit day with a space: " 5. Jan 2027", "Jan 5, 2027".
+ def test_short_with_year_has_no_padding_space_on_a_single_digit_day
+ locales = Dir[File.expand_path("../config/locales/defaults/*.yml", __dir__)].map { |file| File.basename(file, ".yml") }
+ padded = locales.sort.select do |locale|
+ I18n.l(Date.new(2027, 1, 5), format: :short_with_year, locale: locale).match?(/\A\s|\s\s/)
+ end
+
+ assert_empty padded, "short_with_year pads the day for: #{padded.join(", ")}"
+ end
+
def test_trade_republic_activity_labels_exist_for_each_locale
required_labels = %w[
contribution withdrawal interest dividend card_payment cash_withdrawal