diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-27 11:00:26 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-27 11:36:29 +0100 |
commit | 9907069f442c56c90b67accb2d8fbd046dfce6db (patch) | |
tree | aa7c5e31f7ede9e5262de253641948ec8b0dff11 /src/ui-day.c | |
parent | 43bdd12254082c58b04e0d3b3032569443e96e4f (diff) | |
download | calcurse-9907069f442c56c90b67accb2d8fbd046dfce6db.tar.gz calcurse-9907069f442c56c90b67accb2d8fbd046dfce6db.zip |
Validate date/time when scanning items
Bail out when reading dates such as "02/30/2013" from the appointments
file. These *could* be converted into valid dates but since we never
write invalid dates to that file, these indicate a user error.
Fixes following test cases:
* appointment-009.sh
* appointment-012.sh
* appointment-016.sh
* appointment-019.sh
* event-003.sh
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/ui-day.c')
0 files changed, 0 insertions, 0 deletions