mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Fixed #17017 -- Updated British English date formats to follow common standards. Thanks, sebastian.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ef4d84d11a
commit
3db80c4c05
@ -4,11 +4,11 @@
|
||||
|
||||
# The *_FORMAT strings use the Django date format syntax,
|
||||
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
|
||||
DATE_FORMAT = 'N j, Y' # 'Oct. 25, 2006'
|
||||
DATE_FORMAT = 'j M Y' # '25 Oct 2006'
|
||||
TIME_FORMAT = 'P' # '2:30 pm'
|
||||
DATETIME_FORMAT = 'N j, Y, P' # 'Oct. 25, 2006, 2:30 pm'
|
||||
DATETIME_FORMAT = 'j M Y, P' # '25 Oct 2006, 2:30 pm'
|
||||
YEAR_MONTH_FORMAT = 'F Y' # 'October 2006'
|
||||
MONTH_DAY_FORMAT = 'F j' # 'October 25'
|
||||
MONTH_DAY_FORMAT = 'j F' # '25 October'
|
||||
SHORT_DATE_FORMAT = 'd/m/Y' # '25/10/2006'
|
||||
SHORT_DATETIME_FORMAT = 'd/m/Y P' # '25/10/2006 2:30 pm'
|
||||
FIRST_DAY_OF_WEEK = 0 # Sunday
|
||||
|
Loading…
Reference in New Issue
Block a user