Debian Codegraph @

django/conf/locale/fr_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 DATE_FORMAT = "j F Y" # 31 janvier 2024
6 TIME_FORMAT = "H\xa0h\xa0i" # 13 h 40
7 DATETIME_FORMAT = "j F Y, H\xa0h\xa0i" # 31 janvier 2024, 13 h 40
8 YEAR_MONTH_FORMAT = "F Y"
9 MONTH_DAY_FORMAT = "j F"
10 SHORT_DATE_FORMAT = "Y-m-d"
11 SHORT_DATETIME_FORMAT = "Y-m-d H\xa0h\xa0i"
12 FIRST_DAY_OF_WEEK = 0 # Dimanche
13
14 # The *_INPUT_FORMATS strings use the Python strftime format syntax,
15 # see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
16 DATE_INPUT_FORMATS = [
17 "%Y-%m-%d", # '2006-05-15'
18 "%y-%m-%d", # '06-05-15'
19 ]
20 DATETIME_INPUT_FORMATS = [
21 "%Y-%m-%d %H:%M:%S", # '2006-05-15 14:30:57'
22 "%y-%m-%d %H:%M:%S", # '06-05-15 14:30:57'
23 "%Y-%m-%d %H:%M:%S.%f", # '2006-05-15 14:30:57.000200'
24 "%y-%m-%d %H:%M:%S.%f", # '06-05-15 14:30:57.000200'
25 "%Y-%m-%d %H:%M", # '2006-05-15 14:30'
26 "%y-%m-%d %H:%M", # '06-05-15 14:30'
27 ]
28 DECIMAL_SEPARATOR = ","
29 THOUSAND_SEPARATOR = "\xa0" # non-breaking space
30 NUMBER_GROUPING = 3