From 3b7f4b6e1020b65de720bc501aa70308d782bcdc Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 22 Jan 2009 17:07:52 +0000 Subject: [PATCH] Swedish cal. Valid check for the Sw. cal not working yet. svn: r11688 --- src/DateHandler/_DateParser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DateHandler/_DateParser.py b/src/DateHandler/_DateParser.py index 62df0459c..eafe52c98 100644 --- a/src/DateHandler/_DateParser.py +++ b/src/DateHandler/_DateParser.py @@ -86,7 +86,8 @@ def swedish_valid(date_tuple): if date_tuple == (1712,2,30): # extra day was inserted 1712 valid = True if date_tuple >= (1712,3,1): # back to julian - valid = False + valid = False + valid = True return valid def french_valid(date_tuple):