Changeset 7254 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 3 Dec 2011, 05:09:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/layout.py
r7243 r7254 20 20 import os 21 21 import grok 22 from datetime import date, datetime 22 23 import grokcore.view 23 24 from hurry.resource import mode … … 202 203 return 203 204 205 def formatDatetime(self,datetimeobj): 206 if isinstance(datetimeobj, datetime): 207 return datetimeobj.strftime("%Y-%m-%d %H:%M:%S") 208 else: 209 return None 210 204 211 def update(self): 205 212 """Include the resources required by the chosen skin/theme.
Note: See TracChangeset for help on using the changeset viewer.