From 2f5a927b72ea5cc644f932e46fe2034ef3a2ae2a Mon Sep 17 00:00:00 2001 From: Brandon Kelly Date: Tue, 30 Sep 2014 10:07:37 -0700 Subject: [PATCH] date() documentation correction --- doc/functions/date.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/functions/date.rst b/doc/functions/date.rst index 9442c39..714e08c 100644 --- 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 -- 1.7.2.5