Changes between Initial Version and Version 1 of Ticket #17343, comment 1


Ignore:
Timestamp:
Dec 4, 2011, 2:49:23 PM (13 years ago)
Author:
Tomek Paczkowski

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17343, comment 1

    initial v1  
    66{{{#!python
    77with 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')
    99}}}
    1010
Back to Top