mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
date() documentation correction
This commit is contained in:
@@ -15,7 +15,7 @@ Converts an argument to a date to allow date comparison:
|
||||
{# do something #}
|
||||
{% endif %}
|
||||
|
||||
The argument must be in a format supported by the `date`_ function.
|
||||
The argument must be in one of PHP’s supported `date and time formats`_.
|
||||
|
||||
You can pass a timezone as the second argument:
|
||||
|
||||
@@ -49,4 +49,4 @@ Arguments
|
||||
* ``date``: The date
|
||||
* ``timezone``: The timezone
|
||||
|
||||
.. _`date`: http://www.php.net/date
|
||||
.. _`date and time formats`: http://php.net/manual/en/datetime.formats.php
|
||||
|
||||
Reference in New Issue
Block a user