* Reviewed them for missing backslash escaping characters. * Converted all of them to raw strings for consistency. * Made default 'long' output specifiers for dates and/or times more terse and so more suited to real local usage, trying to maintain backward compatiblity with the equally named pre 1.2 technical message IDs where possible. Thanks to Fabián Ramirez for his work on this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
60df7421f6
commit
0db68c8123
|
@ -2,13 +2,13 @@
|
|||
# This file is distributed under the same license as the Django package.
|
||||
#
|
||||
|
||||
DATE_FORMAT = 'j \\de F \\de Y'
|
||||
TIME_FORMAT = 'H:i:s'
|
||||
DATETIME_FORMAT = 'j \\de F \\de Y \\a \\l\\a\s H:i'
|
||||
YEAR_MONTH_FORMAT = 'F \\de Y'
|
||||
MONTH_DAY_FORMAT = 'j \\de F'
|
||||
SHORT_DATE_FORMAT = 'd/m/Y'
|
||||
SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
|
||||
DATE_FORMAT = r'j N Y'
|
||||
TIME_FORMAT = r'H:i:s'
|
||||
DATETIME_FORMAT = r'j N Y H:i:s'
|
||||
YEAR_MONTH_FORMAT = r'F Y'
|
||||
MONTH_DAY_FORMAT = r'j \de F'
|
||||
SHORT_DATE_FORMAT = r'd/m/Y'
|
||||
SHORT_DATETIME_FORMAT = r'd/m/Y H:i'
|
||||
FIRST_DAY_OF_WEEK = 0 # 0: Sunday, 1: Monday
|
||||
DATE_INPUT_FORMATS = (
|
||||
'%d/%m/%Y', # '31/12/2009'
|
||||
|
|
Loading…
Reference in New Issue