diff --git a/django/conf/locale/sv/formats.py b/django/conf/locale/sv/formats.py index df4e633562..b5050a6d6e 100644 --- a/django/conf/locale/sv/formats.py +++ b/django/conf/locale/sv/formats.py @@ -3,16 +3,22 @@ # DATE_FORMAT = 'j F Y' -TIME_FORMAT = 'H.i.s' -# DATETIME_FORMAT = -YEAR_MONTH_FORMAT = 'Y F' +TIME_FORMAT = 'H:i' +DATETIME_FORMAT = 'j F Y H:i' +YEAR_MONTH_FORMAT = 'F Y' MONTH_DAY_FORMAT = 'j F' -SHORT_DATE_FORMAT = 'j M Y' -# SHORT_DATETIME_FORMAT = -# FIRST_DAY_OF_WEEK = -# DATE_INPUT_FORMATS = -# TIME_INPUT_FORMATS = -# DATETIME_INPUT_FORMATS = -DECIMAL_SEPARATOR = ',' -THOUSAND_SEPARATOR = ' ' -# NUMBER_GROUPING = +SHORT_DATE_FORMAT = 'Y-m-d' +SHORT_DATETIME_FORMAT = 'Y-m-d H:i' +FIRST_DAY_OF_WEEK = 1 +DATE_INPUT_FORMATS = ( + '%Y-%m-%d', # '2006-10-25' +) +TIME_INPUT_FORMATS = ( + '%H:%i', # '14:30' +) +DATETIME_INPUT_FORMATS = ( + '%Y-%m-%d %H:%i', # '2006-10-25 14:30' +) +DECIMAL_SEPARATOR = '.' +THOUSAND_SEPARATOR = ' ' +NUMBER_GROUPING = 3