[CMF-checkins] SVN: CMF/branches/2.0/CMFCalendar/CalendarTool.py -
Backport change to use naive/local time.
Tres Seaver
tseaver at palladion.com
Tue Jan 2 09:19:42 EST 2007
Log message for revision 71685:
- Backport change to use naive/local time.
Changed:
U CMF/branches/2.0/CMFCalendar/CalendarTool.py
-=-
Modified: CMF/branches/2.0/CMFCalendar/CalendarTool.py
===================================================================
--- CMF/branches/2.0/CMFCalendar/CalendarTool.py 2007-01-02 14:12:53 UTC (rev 71684)
+++ CMF/branches/2.0/CMFCalendar/CalendarTool.py 2007-01-02 14:19:42 UTC (rev 71685)
@@ -347,8 +347,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