diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/custom-template-tags.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt index f56cf22f66..1406d19b58 100644 --- a/docs/howto/custom-template-tags.txt +++ b/docs/howto/custom-template-tags.txt @@ -827,7 +827,7 @@ like so: .. 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 %} <p>The current time is {{ my_current_time }}.</p> To do that, you'll need to refactor both the compilation function and ``Node`` |
