date() documentation correction

This commit is contained in:
Brandon Kelly
2014-09-30 10:07:37 -07:00
parent 084ca201a7
commit 2f5a927b72
+2 -2
View File
@@ -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 PHPs 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