diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2017-10-26 20:46:46 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-10-26 20:49:30 +0200 |
commit | 301f240881428e95954b10fc4d61b31720067160 (patch) | |
tree | 295cb09c3a9d3f21a5683a19da1f7f7cd0345e87 /src/vector.h | |
parent | 760c297027efca75e095940d76d2078b1da1b677 (diff) | |
download | calcurse-301f240881428e95954b10fc4d61b31720067160.tar.gz calcurse-301f240881428e95954b10fc4d61b31720067160.zip |
Make parsing of date-time more strict
In parse_datetime() it was possible to enter any number of dates and
times in any order. Allow just date or time or date followed by time.
Time must be looked for before date because of conflicting time and date
formats.
Suggested-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/vector.h')
0 files changed, 0 insertions, 0 deletions