Ticket #11637: 11637-cs.diff

File 11637-cs.diff, 1.4 KB (added by Honza_Kral, 5 years ago)
  • django/conf/locale/cs/formats.py

    diff --git a/django/conf/locale/cs/formats.py b/django/conf/locale/cs/formats.py
    index 327e77e..16ecb74 100644
    a b  
    44
    55DATE_FORMAT = 'j. F Y'
    66TIME_FORMAT = 'G:i:s'
    7 # DATETIME_FORMAT =
    8 # YEAR_MONTH_FORMAT =
     7DATETIME_FORMAT = 'j. F Y G:i:s'
     8YEAR_MONTH_FORMAT = 'F Y'
    99MONTH_DAY_FORMAT = 'j. F'
    10 SHORT_DATE_FORMAT = 'j.n.Y'
    11 # SHORT_DATETIME_FORMAT =
    12 # FIRST_DAY_OF_WEEK =
    13 # DATE_INPUT_FORMATS =
    14 # TIME_INPUT_FORMATS =
    15 # DATETIME_INPUT_FORMATS =
     10SHORT_DATE_FORMAT = 'd.m.Y'
     11SHORT_DATETIME_FORMAT = 'd.m.Y G:i:s'
     12FIRST_DAY_OF_WEEK = 1 # Monday
     13DATE_INPUT_FORMATS = (
     14    '%d.%m.%Y', '%d.%m.%y',     # '25.10.2006', '25.10.06'
     15    '%Y-%m-%d', '%y-%m-%d',     # '2006-10-25', '06-10-25'
     16    '%d. %B %Y', '%d. %b. %Y',  # '25. October 2006', '25. Oct. 2006'
     17)
     18TIME_INPUT_FORMATS = (
     19    '%H:%M:%S', # '14:30:59'
     20    '%H:%M',    # '14:30'
     21)
     22DATETIME_INPUT_FORMATS = (
     23    '%d.%m.%Y %H:%M:%S',    # '25.10.2006 14:30:59'
     24    '%d.%m.%Y %H:%M',       # '25.10.2006 14:30'
     25    '%d.%m.%Y',             # '25.10.2006'
     26    '%Y-%m-%d %H:%M:%S',    # '2006-10-25 14:30:59'
     27    '%Y-%m-%d %H:%M',       # '2006-10-25 14:30'
     28    '%Y-%m-%d',             # '2006-10-25'
     29)
    1630DECIMAL_SEPARATOR = ','
    17 THOUSAND_SEPARATOR = ' '
    18 # NUMBER_GROUPING =
     31THOUSAND_SEPARATOR = ' '
     32NUMBER_GROUPING = 3
Back to Top