Changeset 8186 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 17 Apr 2012, 00:31:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py
r8183 r8186 34 34 from zope.component import getUtility 35 35 from waeup.kofa.browser.interfaces import IPDFCreator 36 from waeup.kofa.utils.helpers import now 36 37 from waeup.kofa.interfaces import IKofaUtils 37 38 from waeup.kofa.interfaces import MessageFactory as _ … … 331 332 if not getattr(doc, 'kofa_nodate', False): 332 333 tz = getUtility(IKofaUtils).tzinfo 333 today = datetime.now(tz).strftime('%d/%m/%Y %H:%M:%S')334 today = now(tz).strftime('%d/%m/%Y %H:%M:%S %z %Z') 334 335 canvas.drawString(2.2*cm, 0.5 * inch, 335 336 translate(_(u'Date: ${a}', mapping = {'a': today})))
Note: See TracChangeset for help on using the changeset viewer.