Changeset 8186 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 17 Apr 2012, 00:31:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r8183 r8186 39 39 from waeup.kofa.interfaces import MessageFactory as _ 40 40 from waeup.kofa.students.interfaces import IStudentsUtils 41 from waeup.kofa.utils.helpers import now 41 42 42 43 SLIP_STYLE = [ … … 208 209 frame_footer = Frame(1*cm,0,width-(2*cm),1*cm) 209 210 tz = getUtility(IKofaUtils).tzinfo 210 timestamp = datetime.now(tz).strftime("%d/%m/%Y %H:%M:%S")211 timestamp = now(tz).strftime("%d/%m/%Y %H:%M:%S %z %Z") 211 212 left_text = '<font size=10>%s</font>' % timestamp 212 213 story.append(Paragraph(left_text, style["Normal"]))
Note: See TracChangeset for help on using the changeset viewer.