From 4274ea16f509561eb5d22e30e8675ac2dd8d477b Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Sun, 10 Apr 2011 08:26:00 +0000 Subject: [PATCH] Fixed so that correct date format was shown in Preferences. svn: r17091 --- src/DateHandler/_Date_sv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DateHandler/_Date_sv.py b/src/DateHandler/_Date_sv.py index a214bdea2..afba8c1ed 100644 --- a/src/DateHandler/_Date_sv.py +++ b/src/DateHandler/_Date_sv.py @@ -119,8 +119,8 @@ class DateDisplaySv(DateDisplay): u"jul", u"aug", u"sep", u"okt", u"nov", u"dec" ) formats = ( - u"YYYY-MM-DD (ISO)", - u"Numerisk", + u"ÅÅÅÅ-MM-DD (ISO)", + u"År/mån/dag", u"Månad dag, år", u"MÅN DAG ÅR", u"Dag månad år", @@ -181,4 +181,4 @@ class DateDisplaySv(DateDisplay): # Register classes # #------------------------------------------------------------------------- -register_datehandler(('sv_SE', 'sv', 'Swedish'), DateParserSv, DateDisplaySv) +register_datehandler(('sv_SE', 'sv_SE.UTF-8', 'sv', 'Swedish'), DateParserSv, DateDisplaySv)