[CMF-checkins] SVN: CMF/trunk/CMFCalendar/CalendarTool.py - Use
'naive' (i.e., local) time, rather than GMT.
Tres Seaver
tseaver at palladion.com
Tue Jan 2 09:12:54 EST 2007
Log message for revision 71684:
- Use 'naive' (i.e., local) time, rather than GMT.
- Works around semantic changed introduced into DateTime on Zope2 trunk.
Changed:
U CMF/trunk/CMFCalendar/CalendarTool.py
-=-
Modified: CMF/trunk/CMFCalendar/CalendarTool.py
===================================================================
--- CMF/trunk/CMFCalendar/CalendarTool.py 2007-01-02 14:11:15 UTC (rev 71683)
+++ CMF/trunk/CMFCalendar/CalendarTool.py 2007-01-02 14:12:53 UTC (rev 71684)
@@ -351,8 +351,8 @@
month = int(month)
year = int(year)
- begin = DateTime('%d-%02d-%02d 00:00:00' % (year, month, day))
- end = DateTime('%d-%02d-%02d 23:59:59' % (year, month, day))
+ begin = DateTime('%d/%02d/%02d 00:00:00' % (year, month, day))
+ end = DateTime('%d/%02d/%02d 23:59:59' % (year, month, day))
return (begin, end)
More information about the CMF-checkins
mailing list