~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to django/conf/locale/nn/formats.py

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2014-09-17 14:15:11 UTC
  • mfrom: (1.3.17) (6.2.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140917141511-icneokthe9ww5sk4
Tags: 1.7-2
* Release to unstable.
* Add a migrate-south sample script to help users apply their South
  migrations. Thanks to Brian May.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
MONTH_DAY_FORMAT = 'j. F'
13
13
SHORT_DATE_FORMAT = 'd.m.Y'
14
14
SHORT_DATETIME_FORMAT = 'd.m.Y H:i'
15
 
FIRST_DAY_OF_WEEK = 1 # Monday
 
15
FIRST_DAY_OF_WEEK = 1  # Monday
16
16
 
17
17
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
18
18
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
19
19
# Kept ISO formats as they are in first position
20
20
DATE_INPUT_FORMATS = (
21
 
    '%Y-%m-%d', '%d.%m.%Y', '%d.%m.%y', # '2006-10-25', '25.10.2006', '25.10.06'
 
21
    '%Y-%m-%d', '%d.%m.%Y', '%d.%m.%y',  # '2006-10-25', '25.10.2006', '25.10.06'
22
22
    # '%d. %b %Y', '%d %b %Y',            # '25. okt 2006', '25 okt 2006'
23
23
    # '%d. %b. %Y', '%d %b. %Y',          # '25. okt. 2006', '25 okt. 2006'
24
24
    # '%d. %B %Y', '%d %B %Y',            # '25. oktober 2006', '25 oktober 2006'
39
39
    '%d.%m.%y',              # '25.10.06'
40
40
)
41
41
DECIMAL_SEPARATOR = ','
42
 
THOUSAND_SEPARATOR = '\xa0' # non-breaking space
 
42
THOUSAND_SEPARATOR = '\xa0'  # non-breaking space
43
43
NUMBER_GROUPING = 3