Debian Codegraph @

django/conf/locale/eo/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 = r"j\-\a \d\e F Y" # '26-a de julio 1887'
6 TIME_FORMAT = "H:i" # '18:59'
7 DATETIME_FORMAT = r"j\-\a \d\e F Y\, \j\e H:i" # '26-a de julio 1887, je 18:59'
8 YEAR_MONTH_FORMAT = r"F \d\e Y" # 'julio de 1887'
9 MONTH_DAY_FORMAT = r"j\-\a \d\e F" # '26-a de julio'
10 SHORT_DATE_FORMAT = "Y-m-d" # '1887-07-26'
11 SHORT_DATETIME_FORMAT = "Y-m-d H:i" # '1887-07-26 18:59'
12 FIRST_DAY_OF_WEEK = 1 # Monday (lundo)
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", # '1887-07-26'
18 "%y-%m-%d", # '87-07-26'
19 "%Y %m %d", # '1887 07 26'
20 "%Y.%m.%d", # '1887.07.26'
21 "%d-a de %b %Y", # '26-a de jul 1887'
22 "%d %b %Y", # '26 jul 1887'
23 "%d-a de %B %Y", # '26-a de julio 1887'
24 "%d %B %Y", # '26 julio 1887'
25 "%d %m %Y", # '26 07 1887'
26 "%d/%m/%Y", # '26/07/1887'
27 ]
28 TIME_INPUT_FORMATS = [
29 "%H:%M:%S", # '18:59:00'
30 "%H:%M", # '18:59'
31 ]
32 DATETIME_INPUT_FORMATS = [
33 "%Y-%m-%d %H:%M:%S", # '1887-07-26 18:59:00'
34 "%Y-%m-%d %H:%M", # '1887-07-26 18:59'
35 "%Y.%m.%d %H:%M:%S", # '1887.07.26 18:59:00'
36 "%Y.%m.%d %H:%M", # '1887.07.26 18:59'
37 "%d/%m/%Y %H:%M:%S", # '26/07/1887 18:59:00'
38 "%d/%m/%Y %H:%M", # '26/07/1887 18:59'
39 "%y-%m-%d %H:%M:%S", # '87-07-26 18:59:00'
40 "%y-%m-%d %H:%M", # '87-07-26 18:59'
41 ]
42 DECIMAL_SEPARATOR = ","
43 THOUSAND_SEPARATOR = "\xa0" # non-breaking space
44 NUMBER_GROUPING = 3