~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-05-21 07:52:55 UTC
  • mfrom: (1.3.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20100521075255-ii78v1dyfmyu3uzx
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DATE_FORMAT = 'j. F Y'
 
2
TIME_FORMAT = 'H:i'
 
3
DATETIME_FORMAT = 'j. F Y H:i'
 
4
YEAR_MONTH_FORMAT = 'F Y'
 
5
MONTH_DAY_FORMAT = 'j. F'
 
6
SHORT_DATE_FORMAT = 'd.m.Y'
 
7
SHORT_DATETIME_FORMAT = 'd.m.Y H:i'
 
8
FIRST_DAY_OF_WEEK = 1 # Monday
 
9
DATE_INPUT_FORMATS = (
 
10
    '%Y-%m-%d', '%j.%m.%Y', '%j.%m.%y', # '2006-10-25', '25.10.2006', '25.10.06'
 
11
    '%Y-%m-%j',                         # '2006-10-25',
 
12
    # '%j. %b %Y', '%j %b %Y',            # '25. okt 2006', '25 okt 2006'
 
13
    # '%j. %b. %Y', '%j %b. %Y',          # '25. okt. 2006', '25 okt. 2006'
 
14
    # '%j. %B %Y', '%j %B %Y',            # '25. oktober 2006', '25 oktober 2006'
 
15
)
 
16
TIME_INPUT_FORMATS = (
 
17
    '%H:%M:%S',     # '14:30:59'
 
18
    '%H:%M',     # '14:30'
 
19
)
 
20
DATETIME_INPUT_FORMATS = (
 
21
    '%Y-%m-%d %H:%M:%S',     # '2006-10-25 14:30:59'
 
22
    '%Y-%m-%d %H:%M',        # '2006-10-25 14:30'
 
23
    '%Y-%m-%d',              # '2006-10-25'
 
24
    '%Y-%m-%j',              # '2006-10-25'
 
25
    '%j.%m.%Y %H:%M:%S',     # '25.10.2006 14:30:59'
 
26
    '%j.%m.%Y %H:%M',        # '25.10.2006 14:30'
 
27
    '%j.%m.%Y',              # '25.10.2006'
 
28
    '%j.%m.%y %H:%M:%S',     # '25.10.06 14:30:59'
 
29
    '%j.%m.%y %H:%M',        # '25.10.06 14:30'
 
30
    '%j.%m.%y',              # '25.10.06'
 
31
)
 
32
DECIMAL_SEPARATOR = ','
 
33
THOUSAND_SEPARATOR = ' '
 
34
NUMBER_GROUPING = 3