[CMF-checkins] CVS: Products/CMFCalendar/skins/zpt_calendar - calendarBox.pt:1.2.28.1

Stefan H. Holek stefan at epy.co.at
Thu Jul 29 14:29:50 EDT 2004


Update of /cvs-repository/Products/CMFCalendar/skins/zpt_calendar
In directory cvs.zope.org:/tmp/cvs-serv21625/CMFCalendar/skins/zpt_calendar

Modified Files:
      Tag: CMF-1_4-branch
	calendarBox.pt 
Log Message:
Woops! Check in last batch of fixes from the Plone collector.


=== Products/CMFCalendar/skins/zpt_calendar/calendarBox.pt 1.2 => 1.2.28.1 ===
--- Products/CMFCalendar/skins/zpt_calendar/calendarBox.pt:1.2	Fri May 10 06:40:00 2002
+++ Products/CMFCalendar/skins/zpt_calendar/calendarBox.pt	Thu Jul 29 14:29:20 2004
@@ -28,8 +28,8 @@
                 <a href="#" class="CalendarArrow" tal:attributes="href python:here.getPreviousMonthLink(request.URL0, month, year)">&laquo;</a>
             </th>
 
-            <th colspan="5" tal:define="date string:$month/1/$year">
-              <span tal:replace="python:DateTime(date).strftime('%B').capitalize()"/> <span tal:replace="python:DateTime(date).year()"/>
+            <th colspan="5" tal:define="date python:DateTime(int(year), int(month), 1)">
+              <span tal:replace="python:date.strftime('%B').capitalize()"/> <span tal:replace="python:date.year()"/>
             </th>
 
             <th>
@@ -84,4 +84,4 @@
  </div>
 </div>
 
-</html>
\ No newline at end of file
+</html>



More information about the CMF-checkins mailing list