From 47cdc1e54ddb0f086b90809e8b946dce2f49c6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zden=C4=9Bk=20Hata=C5=A1?= Date: Sun, 7 Jun 2015 10:54:21 +0200 Subject: [PATCH] date handler fix --- gramps/gen/datehandler/_date_cs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gen/datehandler/_date_cs.py b/gramps/gen/datehandler/_date_cs.py index 1fd17fa43..3b303aa88 100644 --- a/gramps/gen/datehandler/_date_cs.py +++ b/gramps/gen/datehandler/_date_cs.py @@ -173,6 +173,8 @@ class DateParserCZ(DateParser): def init_strings(self): DateParser.init_strings(self) + self._text2 = re.compile('(\d+)?\.?\s+?%s\.?\s*((\d+)(/\d+)?)?\s*$' + % self._mon_str, re.IGNORECASE) self._span = re.compile( "(od)\s+(?P.+)\s+(do)\s+(?P.+)", re.IGNORECASE)