docs: add supports smart dates too
This commit is contained in:
parent
8cff3c2aea
commit
07325ed640
9
MANUAL
9
MANUAL
@ -492,8 +492,9 @@ format. Examples:
|
|||||||
|
|
||||||
``2010/01/31`` or ``2010/1/31`` or ``2010-1-31`` or ``2010.1.31``
|
``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
|
The `add <#add>`_ command and the `web <#web>`_ add form, as well as
|
||||||
<#smart-dates>`_.)
|
some other places, accept `smart dates <#smart-dates>`_ - more about
|
||||||
|
those below.
|
||||||
|
|
||||||
Default year
|
Default year
|
||||||
''''''''''''
|
''''''''''''
|
||||||
@ -544,8 +545,8 @@ The second date may omit the year if it is the same as the first's.
|
|||||||
Smart dates
|
Smart dates
|
||||||
'''''''''''
|
'''''''''''
|
||||||
|
|
||||||
In `period expressions <#period-expressions>`_, the -b and -e options,
|
In `period expressions <#period-expressions>`_, the ``-b`` and ``-e``
|
||||||
and the `web <#web>`_ add form,
|
options, the `add <#add>`_ command and the `web <#web>`_ add form,
|
||||||
more flexible "smart dates" are allowed. Here are some examples:
|
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)
|
- ``2009/1/1``, ``2009/01/01``, ``2009-1-1``, ``2009.1.1``, ``2009/1``, ``2009`` (january 1, 2009)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user