Statistics
| Branch: | Revision:

root / env / lib / python2.7 / site-packages / django / conf / locale / nl / formats.py @ 1a305335

History | View | Annotate | Download (2.98 KB)

1
# -*- encoding: utf-8 -*-
2
# This file is distributed under the same license as the Django package.
3
#
4

    
5
# The *_FORMAT strings use the Django date format syntax,
6
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
7
DATE_FORMAT = 'j F Y'                   # '20 januari 2009'
8
TIME_FORMAT = 'H:i'                     # '15:23'
9
DATETIME_FORMAT = 'j F Y H:i'           # '20 januari 2009 15:23'
10
YEAR_MONTH_FORMAT = 'F Y'               # 'januari 2009'
11
MONTH_DAY_FORMAT = 'j F'                # '20 januari'
12
SHORT_DATE_FORMAT = 'j-n-Y'             # '20-1-2009'
13
SHORT_DATETIME_FORMAT = 'j-n-Y H:i'     # '20-1-2009 15:23'
14
FIRST_DAY_OF_WEEK = 1                   # Monday (in Dutch 'maandag')
15

    
16
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
17
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
18
DATE_INPUT_FORMATS = (
19
    '%d-%m-%Y', '%d-%m-%y', '%Y-%m-%d', # '20-01-2009', '20-01-09', '2009-01-20'
20
    # '%d %b %Y', '%d %b %y',             # '20 jan 2009', '20 jan 09'
21
    # '%d %B %Y', '%d %B %y',             # '20 januari 2009', '20 januari 09'
22
)
23
TIME_INPUT_FORMATS = (
24
    '%H:%M:%S',                         # '15:23:35'
25
    '%H.%M:%S',                         # '15.23:35'
26
    '%H.%M',                            # '15.23'
27
    '%H:%M',                            # '15:23'
28
)
29
DATETIME_INPUT_FORMATS = (
30
    # With time in %H:%M:%S :
31
    '%d-%m-%Y %H:%M:%S', '%d-%m-%y %H:%M:%S', '%Y-%m-%d %H:%M:%S',  # '20-01-2009 15:23:35', '20-01-09 15:23:35', '2009-01-20 15:23:35'
32
    # '%d %b %Y %H:%M:%S', '%d %b %y %H:%M:%S',   # '20 jan 2009 15:23:35', '20 jan 09 15:23:35'
33
    # '%d %B %Y %H:%M:%S', '%d %B %y %H:%M:%S',   # '20 januari 2009 15:23:35', '20 januari 2009 15:23:35'
34
    # With time in %H.%M:%S :
35
    '%d-%m-%Y %H.%M:%S', '%d-%m-%y %H.%M:%S',   # '20-01-2009 15.23:35', '20-01-09 15.23:35'
36
    # '%d %b %Y %H.%M:%S', '%d %b %y %H.%M:%S',   # '20 jan 2009 15.23:35', '20 jan 09 15.23:35'
37
    # '%d %B %Y %H.%M:%S', '%d %B %y %H.%M:%S',   # '20 januari 2009 15.23:35', '20 januari 2009 15.23:35'
38
    # With time in %H:%M :
39
    '%d-%m-%Y %H:%M', '%d-%m-%y %H:%M', '%Y-%m-%d %H:%M',   # '20-01-2009 15:23', '20-01-09 15:23', '2009-01-20 15:23'
40
    # '%d %b %Y %H:%M', '%d %b %y %H:%M',         # '20 jan 2009 15:23', '20 jan 09 15:23'
41
    # '%d %B %Y %H:%M', '%d %B %y %H:%M',         # '20 januari 2009 15:23', '20 januari 2009 15:23'
42
    # With time in %H.%M :
43
    '%d-%m-%Y %H.%M', '%d-%m-%y %H.%M',         # '20-01-2009 15.23', '20-01-09 15.23'
44
    # '%d %b %Y %H.%M', '%d %b %y %H.%M',         # '20 jan 2009 15.23', '20 jan 09 15.23'
45
    # '%d %B %Y %H.%M', '%d %B %y %H.%M',         # '20 januari 2009 15.23', '20 januari 2009 15.23'
46
    # Without time :
47
    '%d-%m-%Y', '%d-%m-%y', '%Y-%m-%d',         # '20-01-2009', '20-01-09', '2009-01-20'
48
    # '%d %b %Y', '%d %b %y',                     # '20 jan 2009', '20 jan 09'
49
    # '%d %B %Y', '%d %B %y',                     # '20 januari 2009', '20 januari 2009'
50
)
51
DECIMAL_SEPARATOR = ','
52
THOUSAND_SEPARATOR = '.'
53
NUMBER_GROUPING = 3