~ubuntu-branches/ubuntu/utopic/python-django/utopic

« back to all changes in this revision

Viewing changes to django/conf/locale/sk/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
[ 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
17
18
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
18
19
DATE_INPUT_FORMATS = (
19
20
    '%d.%m.%Y', '%d.%m.%y',     # '25.10.2006', '25.10.06'
20
 
    '%Y-%m-%d', '%y-%m-%d',     # '2006-10-25', '06-10-25'
 
21
    '%y-%m-%d',                 # '06-10-25'
21
22
    # '%d. %B %Y', '%d. %b. %Y',  # '25. October 2006', '25. Oct. 2006'
22
23
)
23
 
TIME_INPUT_FORMATS = (
24
 
    '%H:%M:%S', # '14:30:59'
25
 
    '%H:%M',    # '14:30'
26
 
)
27
24
DATETIME_INPUT_FORMATS = (
28
25
    '%d.%m.%Y %H:%M:%S',    # '25.10.2006 14:30:59'
29
26
    '%d.%m.%Y %H:%M',       # '25.10.2006 14:30'
30
27
    '%d.%m.%Y',             # '25.10.2006'
31
 
    '%Y-%m-%d %H:%M:%S',    # '2006-10-25 14:30:59'
32
 
    '%Y-%m-%d %H:%M',       # '2006-10-25 14:30'
33
 
    '%Y-%m-%d',             # '2006-10-25'
34
28
)
35
29
DECIMAL_SEPARATOR = ','
36
 
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
 
30
THOUSAND_SEPARATOR = '\xa0' # non-breaking space
37
31
NUMBER_GROUPING = 3