1 # -*- encoding: utf-8 -*-
2 # This file is distributed under the same license as the Django package.
4 from __future__
import unicode_literals
6 # The *_FORMAT strings use the Django date format syntax,
7 # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
10 DATETIME_FORMAT
= 'j. E Y G:i:s'
11 YEAR_MONTH_FORMAT
= 'F Y'
12 MONTH_DAY_FORMAT
= 'j. F'
13 SHORT_DATE_FORMAT
= 'd.m.Y'
14 SHORT_DATETIME_FORMAT
= 'd.m.Y G:i:s'
15 FIRST_DAY_OF_WEEK
= 1 # Monday
17 # The *_INPUT_FORMATS strings use the Python strftime format syntax,
18 # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
19 DATE_INPUT_FORMATS
= (
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 # '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006'
24 # Kept ISO formats as one is in first position
25 TIME_INPUT_FORMATS
= (
26 '%H:%M:%S', # '04:30:59'
30 DATETIME_INPUT_FORMATS
= (
31 '%d.%m.%Y %H:%M:%S', # '05.01.2006 04:30:59'
32 '%d.%m.%Y %H.%M', # '05.01.2006 04.30'
33 '%d.%m.%Y %H:%M', # '05.01.2006 04:30'
34 '%d.%m.%Y', # '05.01.2006'
35 '%d. %m. %Y %H:%M:%S', # '05. 01. 2006 04:30:59'
36 '%d. %m. %Y %H.%M', # '05. 01. 2006 04.30'
37 '%d. %m. %Y %H:%M', # '05. 01. 2006 04:30'
38 '%d. %m. %Y', # '05. 01. 2006'
39 '%Y-%m-%d %H.%M', # '2006-01-05 04.30'
41 DECIMAL_SEPARATOR
= ','
42 THOUSAND_SEPARATOR
= '\xa0' # non-breaking space