Statistics
| Branch: | Revision:

root / env / lib / python2.7 / site-packages / django / conf / locale / es_MX / formats.py @ 1a305335

History | View | Annotate | Download (870 Bytes)

1
# -*- encoding: utf-8 -*-
2
# This file is distributed under the same license as the Django package.
3
#
4

    
5
DATE_FORMAT = r'j \d\e F \d\e Y'
6
TIME_FORMAT = 'H:i:s'
7
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
8
YEAR_MONTH_FORMAT = r'F \d\e Y'
9
MONTH_DAY_FORMAT = r'j \d\e F'
10
SHORT_DATE_FORMAT = 'd/m/Y'
11
SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
12
FIRST_DAY_OF_WEEK = 1  # Monday: ISO 8601
13
DATE_INPUT_FORMATS = (
14
    '%d/%m/%Y', '%d/%m/%y',             # '25/10/2006', '25/10/06'
15
    '%Y%m%d',                           # '20061025'
16
)
17
TIME_INPUT_FORMATS = (
18
    '%H:%M:%S', '%H:%M',                # '14:30:59', '14:30'
19
)
20
DATETIME_INPUT_FORMATS = (
21
    '%d/%m/%Y %H:%M:%S',
22
    '%d/%m/%Y %H:%M',
23
    '%d/%m/%y %H:%M:%S',
24
    '%d/%m/%y %H:%M',
25
)
26
DECIMAL_SEPARATOR = '.'   # ',' is also official (less common): NOM-008-SCFI-2002
27
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
28
NUMBER_GROUPING = 3