From d8268a5c5e27b38fc003af97b330448e843675c1 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Tue, 6 Apr 2010 19:22:18 +0000 Subject: [PATCH] fix short month dutch datehandler svn: r15045 --- src/DateHandler/_Date_nl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/DateHandler/_Date_nl.py b/src/DateHandler/_Date_nl.py index 6cfa2435e..0bc9e820a 100644 --- a/src/DateHandler/_Date_nl.py +++ b/src/DateHandler/_Date_nl.py @@ -65,6 +65,9 @@ class DateParserNL(DateParser): month_to_int[u"feber"] = 2 month_to_int[u"februaris"] = 2 month_to_int[u"merz"] = 3 + #make sure on all distro mrt and maa are accepted + month_to_int[u"maa"] = 3 + month_to_int[u"mrt"] = 3 month_to_int[u"aprilis"] = 4 month_to_int[u"maius"] = 5 month_to_int[u"junius"] = 6 @@ -143,7 +146,7 @@ class DateDisplayNL(DateDisplay): u"juni", u"juli", u"augustus", u"september", u"oktober", u"november", u"december" ) - short_months = ( u"", u"jan", u"feb", u"maa", u"apr", u"mei", u"jun", + short_months = ( u"", u"jan", u"feb", u"mrt", u"apr", u"mei", u"jun", u"jul", u"aug", u"sep", u"okt", u"nov", u"dec" ) calendar = (