Changes between Initial Version and Version 1 of Ticket #17343, comment 1
- Timestamp:
- Dec 4, 2011, 2:49:23 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17343, comment 1
initial v1 6 6 {{{#!python 7 7 with timezone.override('Europe/Warsaw'): 8 assert Template('{% now "H: m:s" %}').render(Context()) == timezone.localtime(timezone.now()).strftime('%H:%M:%S')8 assert Template('{% now "H:i:s" %}').render(Context()) == timezone.localtime(timezone.now()).strftime('%H:%M:%S') 9 9 }}} 10 10