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

« back to all changes in this revision

Viewing changes to django/conf/locale/es/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 = r'j \de F \de Y'
 
6
TIME_FORMAT = 'H:i:s'
 
7
DATETIME_FORMAT = r'j \de F \de Y \a \l\a\s H:i'
 
8
YEAR_MONTH_FORMAT = r'F \de Y'
 
9
MONTH_DAY_FORMAT = r'j \de F'
 
10
SHORT_DATE_FORMAT = 'd/m/Y'
 
11
SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
 
12
FIRST_DAY_OF_WEEK = 1 # Monday
 
13
DATE_INPUT_FORMATS = (
 
14
    # '31/12/2009', '31/12/09'
 
15
    '%d/%m/%Y', '%d/%m/%y'
 
16
)
 
17
TIME_INPUT_FORMATS = (
 
18
    # '14:30:59', '14:30'
 
19
    '%H:%M:%S', '%H:%M'
 
20
)
 
21
DATETIME_INPUT_FORMATS = (
 
22
    '%d/%m/%Y %H:%M:%S',
 
23
    '%d/%m/%Y %H:%M',
 
24
    '%d/%m/%y %H:%M:%S',
 
25
    '%d/%m/%y %H:%M',
 
26
)
 
27
DECIMAL_SEPARATOR = ','
 
28
THOUSAND_SEPARATOR = '.'
 
29
NUMBER_GROUPING = 3
 
30