~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to django/conf/locale/es_PR/formats.py

  • Committer: Package Import Robot
  • Author(s): Luke Faraone
  • Date: 2013-11-07 15:33:49 UTC
  • mfrom: (1.3.12)
  • Revision ID: package-import@ubuntu.com-20131107153349-e31sc149l2szs3jb
Tags: 1.6-1
* New upstream version. Closes: #557474, #724637.
* python-django now also suggests the installation of ipython,
  bpython, python-django-doc, and libgdal1.
  Closes: #636511, #686333, #704203
* Set package maintainer to Debian Python Modules Team.
* Bump standards version to 3.9.5, no changes needed.

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
from __future__ import unicode_literals
 
5
 
 
6
DATE_FORMAT = r'j \d\e F \d\e Y'
 
7
TIME_FORMAT = 'H:i:s'
 
8
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
 
9
YEAR_MONTH_FORMAT = r'F \d\e Y'
 
10
MONTH_DAY_FORMAT = r'j \d\e F'
 
11
SHORT_DATE_FORMAT = 'd/m/Y'
 
12
SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
 
13
FIRST_DAY_OF_WEEK = 0 # Sunday
 
14
 
 
15
DATE_INPUT_FORMATS = (
 
16
    # '31/12/2009', '31/12/09'
 
17
    '%d/%m/%Y', '%d/%m/%y'
 
18
)
 
19
DATETIME_INPUT_FORMATS = (
 
20
    '%d/%m/%Y %H:%M:%S',
 
21
    '%d/%m/%Y %H:%M:%S.%f',
 
22
    '%d/%m/%Y %H:%M',
 
23
    '%d/%m/%y %H:%M:%S',
 
24
    '%d/%m/%y %H:%M:%S.%f',
 
25
    '%d/%m/%y %H:%M',
 
26
)
 
27
 
 
28
DECIMAL_SEPARATOR = '.'
 
29
THOUSAND_SEPARATOR = ','
 
30
NUMBER_GROUPING = 3