Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated Swedish locale formats. Refs #11637.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 657db6a30aab0390ee7084c5cbc6b0d2f679cbb4 1 parent 8006f85
@jezdez jezdez authored
Showing with 18 additions and 12 deletions.
  1. +18 −12 django/conf/locale/sv/formats.py
View
30 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
Please sign in to comment.
Something went wrong with that request. Please try again.