diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-11-06 19:54:55 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2018-08-25 10:15:33 +0200 |
commit | 223810cf0e8d4f4458fe1f928c31ed11f95818c6 (patch) | |
tree | 2d57cf36e0d854220f6be2253dd8f2ef9acb7118 /src/sigs.c | |
parent | fd635150a8bf131c3a8cec2bf41feaf469832dc5 (diff) | |
download | calcurse-223810cf0e8d4f4458fe1f928c31ed11f95818c6.tar.gz calcurse-223810cf0e8d4f4458fe1f928c31ed11f95818c6.zip |
Major overhaul of appointment/event input routines.
When setting start time for a new appointment, a date is disallowed
(in all other cases both time and date are still allowed).
Both date and time are displayed for the user to correct when an
appointment is changed or moved.
Built-in help in the status bar for display of input formats.
Several bug fixes that resulted in data inconsistencies (end time
before start time).
The routines use the enhanced parsing funtions to validate input:
ui_day_item_add(void)
parse_datetime()
parse_duration()
parse_datetime()
ui_day_item_repeat(void)
parse_date_duration()
parse_date()
ui_day_item_edit(void)
update_start_time()
day_edit_time()
parse_datetime()
update_duration()
parse_duration()
parse_datetime()
update_rept()
parse_date_duration()
parse_date()
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/sigs.c')
0 files changed, 0 insertions, 0 deletions