From d4b4388916c5ff010fa9f2415386ac4a74bc4a8b Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Sun, 10 Apr 2011 08:23:11 +0000 Subject: [PATCH] Fixed so that correct date format was shown in Preferences. svn: r17090 --- 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)