Ticket #19293: cs_formats.diff
File cs_formats.diff, 2.6 KB (added by , 12 years ago) |
---|
-
django/conf/locale/cs/formats.py
diff --git a/django/conf/locale/cs/formats.py b/django/conf/locale/cs/formats.py index f0b6742..983cef7 100644
a b from __future__ import unicode_literals 6 6 # The *_FORMAT strings use the Django date format syntax, 7 7 # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date 8 8 DATE_FORMAT = 'j. E Y' 9 TIME_FORMAT = 'G :i:s'10 DATETIME_FORMAT = 'j. E Y G :i:s'9 TIME_FORMAT = 'G.i:s' 10 DATETIME_FORMAT = 'j. E Y G.i:s' 11 11 YEAR_MONTH_FORMAT = 'F Y' 12 12 MONTH_DAY_FORMAT = 'j. F' 13 SHORT_DATE_FORMAT = ' d.m.Y'14 SHORT_DATETIME_FORMAT = ' d.m.Y G:i:s'13 SHORT_DATE_FORMAT = 'j. n. Y' 14 SHORT_DATETIME_FORMAT = 'j. n. Y G.i:s' 15 15 FIRST_DAY_OF_WEEK = 1 # Monday 16 16 17 17 # The *_INPUT_FORMATS strings use the Python strftime format syntax, 18 18 # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior 19 19 DATE_INPUT_FORMATS = ( 20 '%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06' 21 '%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25' 20 '%d.%m.%Y', '%d.%m.%y', # '05.01.2006', '05.01.06' 21 '%d. %m. %Y', '%d. %m. %y', # '5. 1. 2006', '5. 1. 06' 22 '%Y-%m-%d', '%y-%m-%d', # '2006-01-05', '06-01-05' 22 23 # '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006' 23 24 ) 24 25 TIME_INPUT_FORMATS = ( 25 '%H:%M:%S', # '14:30:59' 26 '%H:%M', # '14:30' 26 '%H.%M:%S', # '04.30:59' 27 '%H:%M:%S', # '04:30:59' 28 '%H.%M', # '04.30' 29 '%H:%M', # '04:30' 27 30 ) 28 31 DATETIME_INPUT_FORMATS = ( 29 '%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59' 30 '%d.%m.%Y %H:%M', # '25.10.2006 14:30' 31 '%d.%m.%Y', # '25.10.2006' 32 '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59' 33 '%Y-%m-%d %H:%M', # '2006-10-25 14:30' 34 '%Y-%m-%d', # '2006-10-25' 32 '%d.%m.%Y %H.%M:%S', # '05.01.2006 04.30:59' 33 '%d.%m.%Y %H:%M:%S', # '05.01.2006 04:30:59' 34 '%d.%m.%Y %H.%M', # '05.01.2006 04.30' 35 '%d.%m.%Y %H:%M', # '05.01.2006 04:30' 36 '%d.%m.%Y', # '05.01.2006' 37 '%d. %m. %Y %H.%M:%S', # '5. 1. 2006 04.30:59' 38 '%d. %m. %Y %H:%M:%S', # '5. 1. 2006 04:30:59' 39 '%d. %m. %Y %H.%M', # '5. 1. 2006 04.30' 40 '%d. %m. %Y %H:%M', # '5. 1. 2006 04:30' 41 '%d. %m. %Y', # '5. 1. 2006' 42 '%Y-%m-%d %H.%M:%S', # '2006-01-05 04.30:59' 43 '%Y-%m-%d %H:%M:%S', # '2006-01-05 04:30:59' 44 '%Y-%m-%d %H.%M', # '2006-01-05 04.30' 45 '%Y-%m-%d %H:%M', # '2006-01-05 04:30' 46 '%Y-%m-%d', # '2006-01-05' 35 47 ) 36 48 DECIMAL_SEPARATOR = ',' 37 49 THOUSAND_SEPARATOR = '\xa0' # non-breaking space