Commit 35a0eca8 authored by Aurel's avatar Aurel

BBB _month_len is expected from SearchKey code

parent 48e03ebf
......@@ -65,6 +65,13 @@ def DateTime__getstate__(self):
DateTimeKlass.__getstate__ = DateTime__getstate__
try:
DateTimeKlass._month_len
except AttributeError:
# BBB
from DateTime.DateTime import _MONTH_LEN
DateTimeKlass._month_len = _MONTH_LEN
def DateTime_parse(self, st, datefmt=getDefaultDateFormat()):
# Parse date-time components from a string
month=year=tz=tm=None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment