Index: docs/howto/custom-template-tags.txt =================================================================== --- docs/howto/custom-template-tags.txt (revision 11910) +++ docs/howto/custom-template-tags.txt (working copy @@ -829,7 +835,7 @@ .. code-block:: html+django - {% get_current_time "%Y-%M-%d %I:%M %p" as my_current_time %} + {% current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
The current time is {{ my_current_time }}.
To do that, you'll need to refactor both the compilation function and ``Node``