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

« back to all changes in this revision

Viewing changes to django/conf/locale/ml/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:
15
15
 
16
16
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
17
17
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
 
18
# Kept ISO formats as they are in first position
18
19
DATE_INPUT_FORMATS = (
19
20
    '%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06'
20
21
    # '%b %d %Y', '%b %d, %Y',            # 'Oct 25 2006', 'Oct 25, 2006'
22
23
    # '%B %d %Y', '%B %d, %Y',            # 'October 25 2006', 'October 25, 2006'
23
24
    # '%d %B %Y', '%d %B, %Y',            # '25 October 2006', '25 October, 2006'
24
25
)
25
 
TIME_INPUT_FORMATS = (
26
 
    '%H:%M:%S',     # '14:30:59'
27
 
    '%H:%M',        # '14:30'
28
 
)
29
26
DATETIME_INPUT_FORMATS = (
30
27
    '%Y-%m-%d %H:%M:%S',     # '2006-10-25 14:30:59'
31
28
    '%Y-%m-%d %H:%M',        # '2006-10-25 14:30'