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

« back to all changes in this revision

Viewing changes to django/conf/locale/pt_BR/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 N \de Y'
 
6
TIME_FORMAT = 'H:i'
 
7
DATETIME_FORMAT = r'j \de N \de Y à\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 = 0  # Sunday
 
13
DATE_INPUT_FORMATS = (
 
14
    '%Y-%m-%d', '%d/%m/%Y', '%d/%m/%y', # '2006-10-25', '25/10/2006', '25/10/06'
 
15
    # '%d de %b de %Y', '%d de %b, %Y',   # '25 de Out de 2006', '25 Out, 2006'
 
16
    # '%d de %B de %Y', '%d de %B, %Y',   # '25 de Outubro de 2006', '25 de Outubro, 2006'
 
17
)
 
18
TIME_INPUT_FORMATS = (
 
19
    '%H:%M:%S',     # '14:30:59'
 
20
    '%H:%M',        # '14:30'
 
21
)
 
22
DATETIME_INPUT_FORMATS = (
 
23
    '%d/%m/%Y %H:%M:%S',     # '25/10/2006 14:30:59'
 
24
    '%d/%m/%Y %H:%M',        # '25/10/2006 14:30'
 
25
    '%d/%m/%Y',              # '25/10/2006'
 
26
    '%d/%m/%y %H:%M:%S',     # '25/10/06 14:30:59'
 
27
    '%d/%m/%y %H:%M',        # '25/10/06 14:30'
 
28
    '%d/%m/%y',              # '25/10/06'
 
29
    '%Y-%m-%d %H:%M:%S',     # '2006-10-25 14:30:59'
 
30
    '%Y-%m-%d %H:%M',        # '2006-10-25 14:30'
 
31
    '%Y-%m-%d',              # '2006-10-25'
 
32
)
 
33
DECIMAL_SEPARATOR = ','
 
34
THOUSAND_SEPARATOR = '.'
 
35
NUMBER_GROUPING = 3