summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldian Fazrihady <mobile@aldian.net>2019-10-12 01:30:58 +0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-12-30 13:06:29 +0100
commit550357771b592568399eda08556bb2a749da69fe (patch)
treeeb9905219446d97edd06b060f8ebee38522bc103
parentea44d86ed43349db25b6b2d8e4d4af2d5c618cf9 (diff)
Refs #30819 -- Prioritized the date format with four-digit year for the Indonesian (id) locale.
-rw-r--r--AUTHORS1
-rw-r--r--django/conf/locale/id/formats.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 13010b754d..6ef04af838 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -35,6 +35,7 @@ answer newbie questions, and generally made Django that much better:
Alasdair Nicol <https://al.sdair.co.uk/>
Albert Wang <https://github.com/albertyw/>
Alcides Fonseca
+ Aldian Fazrihady <mobile@aldian.net>
Aleksandra Sendecka <asendecka@hauru.eu>
Aleksi Häkli <aleksi.hakli@iki.fi>
Alexander Dutton <dev@alexdutton.co.uk>
diff --git a/django/conf/locale/id/formats.py b/django/conf/locale/id/formats.py
index 1458230c28..52b3095e67 100644
--- a/django/conf/locale/id/formats.py
+++ b/django/conf/locale/id/formats.py
@@ -14,8 +14,8 @@ FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
- '%d-%m-%y', '%d/%m/%y', # '25-10-09', 25/10/09'
'%d-%m-%Y', '%d/%m/%Y', # '25-10-2009', 25/10/2009'
+ '%d-%m-%y', '%d/%m/%y', # '25-10-09', 25/10/09'
'%d %b %Y', # '25 Oct 2006',
'%d %B %Y', # '25 October 2006'
]