convert localized short months to DateObject

svn: r14930
This commit is contained in:
Jérôme Rapinat 2010-03-26 15:45:31 +00:00
parent 8d7784ab24
commit e71d2d21c3

View File

@ -58,6 +58,16 @@ class DateParserFR(DateParser):
month_to_int = DateParser.month_to_int
# Short months not the same as long months
month_to_int[u"janv"] = 1
month_to_int[u"févr"] = 2
month_to_int[u"juil"] = 7
month_to_int[u"sept"] = 9
month_to_int[u"oct"] = 10
month_to_int[u"nov"] = 11
month_to_int[u"déc"] = 12
# Add common value
month_to_int[u"bluviose"] = 5