~ubuntu-branches/ubuntu/saucy/python-django/saucy-updates

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Luke Faraone, Jakub Wilk, Luke Faraone
  • Date: 2013-05-09 15:10:47 UTC
  • mfrom: (1.1.21) (4.4.27 sid)
  • Revision ID: package-import@ubuntu.com-20130509151047-aqv8d71oj9wvcv8c
Tags: 1.5.1-2
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.

[ Luke Faraone ]
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- encoding: utf-8 -*-
2
2
# This file is distributed under the same license as the Django package.
3
3
#
 
4
from __future__ import unicode_literals
4
5
 
5
6
# The *_FORMAT strings use the Django date format syntax,
6
7
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
18
19
DATE_INPUT_FORMATS = (
19
20
    '%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
20
21
    '%d.%m.%Y', '%d.%m.%y', # Swiss (fr_CH), '25.10.2006', '25.10.06'
21
 
    '%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25'
22
22
    # '%d %B %Y', '%d %b %Y', # '25 octobre 2006', '25 oct. 2006'
23
23
)
24
 
TIME_INPUT_FORMATS = (
25
 
    '%H:%M:%S', # '14:30:59'
26
 
    '%H:%M',    # '14:30'
27
 
)
28
24
DATETIME_INPUT_FORMATS = (
29
25
    '%d/%m/%Y %H:%M:%S',    # '25/10/2006 14:30:59'
30
26
    '%d/%m/%Y %H:%M',       # '25/10/2006 14:30'
32
28
    '%d.%m.%Y %H:%M:%S',    # Swiss (fr_CH), '25.10.2006 14:30:59'
33
29
    '%d.%m.%Y %H:%M',       # Swiss (fr_CH), '25.10.2006 14:30'
34
30
    '%d.%m.%Y',             # Swiss (fr_CH), '25.10.2006'
35
 
    '%Y-%m-%d %H:%M:%S',    # '2006-10-25 14:30:59'
36
 
    '%Y-%m-%d %H:%M',       # '2006-10-25 14:30'
37
 
    '%Y-%m-%d',             # '2006-10-25'
38
31
)
39
32
DECIMAL_SEPARATOR = ','
40
 
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 
33
THOUSAND_SEPARATOR = '\xa0' # non-breaking space
41
34
NUMBER_GROUPING = 3