After further investigation, I would say that "YYYY-MM-DD" dates
are in the ISO8601 format, and thus GMT based.
Dates in format "YYYY-MM-DD HH:MM:SS" are also in ISO format, but
Zope wasn't recognizing they as such. Now Zope does.
I argue that CMF was misusing DateTime, and that the new behavior
is the correct, otherwise we'll never get a consistent behavior
for the ISO dates.
I argue that the specific getBeginAndEndTimes method from
CalendarTool.py should also use the timezone, analog to what the
getEventsForThisDay method does.
Looks like this fix broke 3 CMF tests:
http:// mail.zope. org/pipermail/ cmf-tests/ 2006-November/ 003324. html
After further investigation, I would say that "YYYY-MM-DD" dates
are in the ISO8601 format, and thus GMT based.
Dates in format "YYYY-MM-DD HH:MM:SS" are also in ISO format, but
Zope wasn't recognizing they as such. Now Zope does.
I argue that CMF was misusing DateTime, and that the new behavior
is the correct, otherwise we'll never get a consistent behavior
for the ISO dates.
I argue that the specific getBeginAndEndTimes method from
CalendarTool.py should also use the timezone, analog to what the
getEventsForThisDay method does.
Thoughts?