docs: add supports smart dates too

This commit is contained in:
Simon Michael 2010-02-23 12:21:50 +00:00
parent 8cff3c2aea
commit 07325ed640

9
MANUAL
View File

@ -492,8 +492,9 @@ format. Examples:
``2010/01/31`` or ``2010/1/31`` or ``2010-1-31`` or ``2010.1.31``
(Though, oddly enough, the `web <#web>`_ add form accepts `smart dates
<#smart-dates>`_.)
The `add <#add>`_ command and the `web <#web>`_ add form, as well as
some other places, accept `smart dates <#smart-dates>`_ - more about
those below.
Default year
''''''''''''
@ -544,8 +545,8 @@ The second date may omit the year if it is the same as the first's.
Smart dates
'''''''''''
In `period expressions <#period-expressions>`_, the -b and -e options,
and the `web <#web>`_ add form,
In `period expressions <#period-expressions>`_, the ``-b`` and ``-e``
options, the `add <#add>`_ command and the `web <#web>`_ add form,
more flexible "smart dates" are allowed. Here are some examples:
- ``2009/1/1``, ``2009/01/01``, ``2009-1-1``, ``2009.1.1``, ``2009/1``, ``2009`` (january 1, 2009)