Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jannis Leidel authored April 29, 2010

Showing 1 changed file with 18 additions and 12 deletions. Show diff stats Hide diff stats

  1. 30  django/conf/locale/sv/formats.py
30  django/conf/locale/sv/formats.py
@@ -3,16 +3,22 @@
3 3
 #
4 4
 
5 5
 DATE_FORMAT = 'j F Y'
6  
-TIME_FORMAT = 'H.i.s'
7  
-# DATETIME_FORMAT = 
8  
-YEAR_MONTH_FORMAT = 'Y F'
  6
+TIME_FORMAT = 'H:i'
  7
+DATETIME_FORMAT = 'j F Y H:i'
  8
+YEAR_MONTH_FORMAT = 'F Y'
9 9
 MONTH_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 = 
  10
+SHORT_DATE_FORMAT = 'Y-m-d'
  11
+SHORT_DATETIME_FORMAT = 'Y-m-d H:i'
  12
+FIRST_DAY_OF_WEEK = 1
  13
+DATE_INPUT_FORMATS = (
  14
+    '%Y-%m-%d',                     # '2006-10-25'
  15
+)
  16
+TIME_INPUT_FORMATS = (
  17
+    '%H:%i',                        # '14:30'
  18
+)
  19
+DATETIME_INPUT_FORMATS = (
  20
+    '%Y-%m-%d %H:%i',               # '2006-10-25 14:30'
  21
+)
  22
+DECIMAL_SEPARATOR = '.'
  23
+THOUSAND_SEPARATOR = ' '
  24
+NUMBER_GROUPING = 3

0 notes on commit 657db6a

Please sign in to comment.
Something went wrong with that request. Please try again.