mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Refs #30819 -- Prioritized the date format with four-digit year for the Indonesian (id) locale.
This commit is contained in:
parent
ea44d86ed4
commit
550357771b
1
AUTHORS
1
AUTHORS
@ -35,6 +35,7 @@ answer newbie questions, and generally made Django that much better:
|
|||||||
Alasdair Nicol <https://al.sdair.co.uk/>
|
Alasdair Nicol <https://al.sdair.co.uk/>
|
||||||
Albert Wang <https://github.com/albertyw/>
|
Albert Wang <https://github.com/albertyw/>
|
||||||
Alcides Fonseca
|
Alcides Fonseca
|
||||||
|
Aldian Fazrihady <mobile@aldian.net>
|
||||||
Aleksandra Sendecka <asendecka@hauru.eu>
|
Aleksandra Sendecka <asendecka@hauru.eu>
|
||||||
Aleksi Häkli <aleksi.hakli@iki.fi>
|
Aleksi Häkli <aleksi.hakli@iki.fi>
|
||||||
Alexander Dutton <dev@alexdutton.co.uk>
|
Alexander Dutton <dev@alexdutton.co.uk>
|
||||||
|
@ -14,8 +14,8 @@ FIRST_DAY_OF_WEEK = 1 # Monday
|
|||||||
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
|
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
|
||||||
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
||||||
DATE_INPUT_FORMATS = [
|
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-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 Oct 2006',
|
||||||
'%d %B %Y', # '25 October 2006'
|
'%d %B %Y', # '25 October 2006'
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user