projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
084ca20
)
date() documentation correction
author
Brandon Kelly
<brandon@pixelandtonic.com>
Tue, 30 Sep 2014 17:07:37 +0000 (10:07 -0700)
committer
Brandon Kelly
<brandon@pixelandtonic.com>
Tue, 30 Sep 2014 17:07:37 +0000 (10:07 -0700)
doc/functions/date.rst
patch
|
blob
|
history
diff --git
a/doc/functions/date.rst
b/doc/functions/date.rst
index
9442c39
..
714e08c
100644
(file)
--- a/
doc/functions/date.rst
+++ b/
doc/functions/date.rst
@@
-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