diff options
| author | Unai Loidi <uloidi@codesyntax.eus> | 2025-10-22 12:22:47 +0200 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2026-03-06 18:25:16 -0300 |
| commit | 07c38764db1ba6a39ff0b3b224288e13c304f1c9 (patch) | |
| tree | 4074f18cb17818b4fabc25d69d2fa790852afe42 /django/conf | |
| parent | c27d368b92f321e6f91704f554dccbc18df5b075 (diff) | |
Fixed #36679 -- Fixed Basque date formats to use parenthetical declension suffixes.
Basque (eu) grammar requires conditional suffixes on years and day
articles that depend on the final sound of the preceding word. Since
Django's format strings are static, the CLDR parenthetical convention
("(e)ko" instead of "ko") is used to express the optionality.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Diffstat (limited to 'django/conf')
| -rw-r--r-- | django/conf/locale/eu/formats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/conf/locale/eu/formats.py b/django/conf/locale/eu/formats.py index 61b16fbc6f..e707f931c7 100644 --- a/django/conf/locale/eu/formats.py +++ b/django/conf/locale/eu/formats.py @@ -2,10 +2,10 @@ # # The *_FORMAT strings use the Django date format syntax, # see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date -DATE_FORMAT = r"Y\k\o N j\a" +DATE_FORMAT = r"Y(\e)\k\o N\k j" TIME_FORMAT = "H:i" -DATETIME_FORMAT = r"Y\k\o N j\a, H:i" -YEAR_MONTH_FORMAT = r"Y\k\o F" +DATETIME_FORMAT = r"Y(\e)\k\o N\k j, H:i" +YEAR_MONTH_FORMAT = r"Y(\e)\k\o F" MONTH_DAY_FORMAT = r"F\r\e\n j\a" SHORT_DATE_FORMAT = "Y-m-d" SHORT_DATETIME_FORMAT = "Y-m-d H:i" |
