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

« back to all changes in this revision

Viewing changes to django/conf/locale/sv/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
# -*- encoding: utf-8 -*-
 
2
# This file is distributed under the same license as the Django package.
 
3
#
 
4
 
 
5
DATE_FORMAT = 'j F Y'
 
6
TIME_FORMAT = 'H:i'
 
7
DATETIME_FORMAT = 'j F Y H:i'
 
8
YEAR_MONTH_FORMAT = 'F Y'
 
9
MONTH_DAY_FORMAT = 'j F'
 
10
SHORT_DATE_FORMAT = 'Y-m-d'
 
11
SHORT_DATETIME_FORMAT = 'Y-m-d H:i'
 
12
FIRST_DAY_OF_WEEK = 1
 
13
DATE_INPUT_FORMATS = (
 
14
    '%Y-%m-%d',              # '2006-10-25'
 
15
    '%m/%d/%Y',              # '10/25/2006'
 
16
    '%m/%d/%y',              # '10/25/06'
 
17
)
 
18
TIME_INPUT_FORMATS = (
 
19
    '%H:%M:%S',     # '14:30:59'
 
20
    '%H:%M',        # '14:30'
 
21
)
 
22
DATETIME_INPUT_FORMATS = (
 
23
    '%Y-%m-%d %H:%M:%S',     # '2006-10-25 14:30:59'
 
24
    '%Y-%m-%d %H:%M',        # '2006-10-25 14:30'
 
25
    '%Y-%m-%d',              # '2006-10-25'
 
26
    '%m/%d/%Y %H:%M:%S',     # '10/25/2006 14:30:59'
 
27
    '%m/%d/%Y %H:%M',        # '10/25/2006 14:30'
 
28
    '%m/%d/%Y',              # '10/25/2006'
 
29
    '%m/%d/%y %H:%M:%S',     # '10/25/06 14:30:59'
 
30
    '%m/%d/%y %H:%M',        # '10/25/06 14:30'
 
31
    '%m/%d/%y',              # '10/25/06'
 
32
)
 
33
DECIMAL_SEPARATOR = '.'
 
34
THOUSAND_SEPARATOR = ' '
 
35
NUMBER_GROUPING = 3