Ticket #11637: sv_format.diff

File sv_format.diff, 1.0 KB (added by algestam, 15 years ago)

Swedish formats

  • django/conf/locale/sv/formats.py

     
    33#
    44
    55DATE_FORMAT = 'j F Y'
    6 TIME_FORMAT = 'H.i.s'
    7 # DATETIME_FORMAT =
    8 YEAR_MONTH_FORMAT = 'Y F'
     6TIME_FORMAT = 'H:i'
     7DATETIME_FORMAT = 'j F Y H:i'
     8YEAR_MONTH_FORMAT = 'F Y'
    99MONTH_DAY_FORMAT = 'j F'
    10 SHORT_DATE_FORMAT = 'j M Y'
    11 # SHORT_DATETIME_FORMAT =
    12 # FIRST_DAY_OF_WEEK =
    13 # DATE_INPUT_FORMATS =
    14 # TIME_INPUT_FORMATS =
    15 # DATETIME_INPUT_FORMATS =
    16 DECIMAL_SEPARATOR = ','
    17 THOUSAND_SEPARATOR = ' '
    18 # NUMBER_GROUPING =
     10SHORT_DATE_FORMAT = 'Y-m-d'
     11SHORT_DATETIME_FORMAT = 'Y-m-d H:i'
     12FIRST_DAY_OF_WEEK = 1
     13DATE_INPUT_FORMATS = {
     14    '%Y-%m-%d',                     # '2006-10-25'
     15}
     16TIME_INPUT_FORMATS = {
     17    '%H:%i',                        # '14:30'
     18}
     19DATETIME_INPUT_FORMATS = {
     20    '%Y-%m-%d %H:%i',               # '2006-10-25 14:30'
     21}
     22DECIMAL_SEPARATOR = '.'
     23THOUSAND_SEPARATOR = ' '
     24NUMBER_GROUPING = 3
Back to Top