Debian Codegraph @

django/conf/locale/en_CA/formats.py

raw
1 # This file is distributed under the same license as the Django package.
2 #
3 # The *_FORMAT strings use the Django date format syntax,
4 # see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
5
6 DATE_FORMAT = "j M Y" # 25 Oct 2006
7 TIME_FORMAT = "P" # 2:30 p.m.
8 DATETIME_FORMAT = "j M Y, P" # 25 Oct 2006, 2:30 p.m.
9 YEAR_MONTH_FORMAT = "F Y" # October 2006
10 MONTH_DAY_FORMAT = "j F" # 25 October
11 SHORT_DATE_FORMAT = "Y-m-d"
12 SHORT_DATETIME_FORMAT = "Y-m-d P"
13 FIRST_DAY_OF_WEEK = 0 # Sunday
14
15 # The *_INPUT_FORMATS strings use the Python strftime format syntax,
16 # see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
17 DATE_INPUT_FORMATS = [
18 "%Y-%m-%d", # '2006-05-15'
19 "%y-%m-%d", # '06-05-15'
20 ]
21 DATETIME_INPUT_FORMATS = [
22 "%Y-%m-%d %H:%M:%S", # '2006-05-15 14:30:57'
23 "%y-%m-%d %H:%M:%S", # '06-05-15 14:30:57'
24 "%Y-%m-%d %H:%M:%S.%f", # '2006-05-15 14:30:57.000200'
25 "%y-%m-%d %H:%M:%S.%f", # '06-05-15 14:30:57.000200'
26 "%Y-%m-%d %H:%M", # '2006-05-15 14:30'
27 "%y-%m-%d %H:%M", # '06-05-15 14:30'
28 ]
29 DECIMAL_SEPARATOR = "."
30 THOUSAND_SEPARATOR = "\xa0" # non-breaking space
31 NUMBER_GROUPING = 3