[CMF-checkins] CVS: Products/CMFCalendar - Event.py:1.19

Stefan H. Holek stefan at epy.co.at
Sat Jul 31 12:55:01 EDT 2004


Update of /cvs-repository/Products/CMFCalendar
In directory cvs.zope.org:/tmp/cvs-serv1445/CMFCalendar

Modified Files:
	Event.py 
Log Message:
Day, month, and year were processed in the wrong order by Event.edit().
Also see http://collector.zope.org/CMF/202


=== Products/CMFCalendar/Event.py 1.18 => 1.19 ===
--- Products/CMFCalendar/Event.py:1.18	Sat Jul 31 10:06:32 2004
+++ Products/CMFCalendar/Event.py	Sat Jul 31 12:54:31 2004
@@ -212,9 +212,9 @@
         start_date = end_date = None
 
         if effectiveDay and effectiveMo and effectiveYear and start_time:
-            efdate = '%s/%s/%s %s %s' % (effectiveDay
+            efdate = '%s/%s/%s %s %s' % (effectiveYear
                                          , effectiveMo
-                                         , effectiveYear
+                                         , effectiveDay
                                          , start_time
                                          , startAMPM
                                          )
@@ -222,9 +222,9 @@
 
         if expirationDay and expirationMo and expirationYear and stop_time:
 
-            exdate = '%s/%s/%s %s %s' % (expirationDay
+            exdate = '%s/%s/%s %s %s' % (expirationYear
                                          , expirationMo
-                                         , expirationYear
+                                         , expirationDay
                                          , stop_time
                                          , stopAMPM
                                          )



More information about the CMF-checkins mailing list