Ticket #13577: polish_formats.diff

File polish_formats.diff, 1.4 KB (added by Ludwik Trammer, 14 years ago)
  • django/conf/locale/pl/formats.py

     
    44
    55DATE_FORMAT = 'j F Y'
    66TIME_FORMAT = 'H:i:s'
    7 # DATETIME_FORMAT =
     7DATETIME_FORMAT = 'j F Y H:i:s'
    88YEAR_MONTH_FORMAT = 'F Y'
    99MONTH_DAY_FORMAT = 'j F'
    1010SHORT_DATE_FORMAT = 'd-m-Y'
    11 # SHORT_DATETIME_FORMAT =
    12 # FIRST_DAY_OF_WEEK =
    13 # DATE_INPUT_FORMATS =
    14 # TIME_INPUT_FORMATS =
    15 # DATETIME_INPUT_FORMATS =
     11SHORT_DATETIME_FORMAT = 'd-m-Y  H: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
     33 No newline at end of file
Back to Top