Ticket #11637: danish.diff

File danish.diff, 1.1 KB (added by finngruwier, 15 years ago)

Formats for Danish (da).

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

     
    11# This file is distributed under the same license as the Django package.
    22#
    33
    4 DATE_FORMAT = 'j. M Y'
    5 TIME_FORMAT = 'H.i.s'
    6 # DATETIME_FORMAT =
     4DATE_FORMAT = 'j. F Y'
     5TIME_FORMAT = 'H:i'
     6DATETIME_FORMAT = 'j. F Y H:i'
    77YEAR_MONTH_FORMAT = 'F Y'
    88MONTH_DAY_FORMAT = 'j. F'
    9 SHORT_DATE_FORMAT = 'd/m/Y'
    10 # SHORT_DATETIME_FORMAT =
    11 # FIRST_DAY_OF_WEEK =
    12 # DATE_INPUT_FORMATS =
    13 # TIME_INPUT_FORMATS =
    14 # DATETIME_INPUT_FORMATS =
     9SHORT_DATE_FORMAT = 'd.m.Y'
     10SHORT_DATETIME_FORMAT = 'd.m.Y H:i'
     11FIRST_DAY_OF_WEEK = 1
     12DATE_INPUT_FORMATS = (
     13    '%d.%m.%Y',                         # '25.10.2006'
     14)
     15TIME_INPUT_FORMATS = (
     16    '%H:%M:%S',                         # '14:30:59'
     17    '%H:%M',                            # '14:30'
     18)
     19DATETIME_INPUT_FORMATS = (
     20    '%d.%m.%Y %H:%M:%S',                # '25.10.2006 14:30:59'
     21    '%d.%m.%Y %H:%M',                   # '25.10.2006 14:30'
     22)
    1523DECIMAL_SEPARATOR = ','
    1624THOUSAND_SEPARATOR = '.'
    17 # NUMBER_GROUPING =
     25NUMBER_GROUPING = 3
Back to Top