Ticket #14540: formats.py

File formats.py, 711 bytes (added by Roberto Rosario, 14 years ago)

Location format file to es_PR location

Line 
1# -*- encoding: utf-8 -*-
2# This file is distributed under the same license as the Django package.
3#
4
5DATE_FORMAT = r'j \de F \de Y'
6TIME_FORMAT = 'H:i:s'
7DATETIME_FORMAT = r'j \de F \de Y \a \l\a\s H:i'
8YEAR_MONTH_FORMAT = r'F \de Y'
9MONTH_DAY_FORMAT = r'j \de F'
10SHORT_DATE_FORMAT = 'd/m/Y'
11SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
12FIRST_DAY_OF_WEEK = 0 # Sunday
13DATE_INPUT_FORMATS = (
14 # '31/12/2009', '31/12/09'
15 '%d/%m/%Y', '%d/%m/%y'
16)
17TIME_INPUT_FORMATS = (
18 # '14:30:59', '14:30'
19 '%H:%M:%S', '%H:%M'
20)
21DATETIME_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)
27DECIMAL_SEPARATOR = '.'
28THOUSAND_SEPARATOR = ','
29NUMBER_GROUPING = 3
30
Back to Top