diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2018-12-01 19:54:14 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-01-07 16:58:01 +0100 |
commit | 620c4eeca5cd1dda90a26527aa6d782edb1b5271 (patch) | |
tree | 1510d99f61857f765416d409b3e2091798f761aa /COPYING | |
parent | bcfc71f4fe195f8ef98ea29a44f9c7a25a6aa75f (diff) | |
download | calcurse-620c4eeca5cd1dda90a26527aa6d782edb1b5271.tar.gz calcurse-620c4eeca5cd1dda90a26527aa6d782edb1b5271.zip |
CLI: Revert to and update of parse_datetimearg()
An earlier commit ("CLI: take input date format from configuration file,
do not accept time") replaced parse_datetimearg() with parse_datearg()
and eliminated time-of-day from command line date arguments. This made
the full use of filter options impossible.
That earlier commit is reverted and updated. The parse_datearg()
function is replaced by an updated parse_datetimearg() function that
- takes the date format from the configuration file
- accepts date, date-time or time
The updated parse_datetimearg() function has been extended to report
back the type of the date string received in order to set (filter)
options correctly. Input dates for query ranges (--from, --to, --days)
are still limited to dates only.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions