diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-05 09:06:18 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-06 12:37:06 +0200 |
commit | 0acbc06c4308576c50e7c4929f35fd09ff069ac7 (patch) | |
tree | afb7dd5fd516484e37b09b790030ba83fc75d1f8 /src/day.c | |
parent | d874f7ff974934aa9e8265e0deb7c03a2dab235c (diff) | |
download | calcurse-0acbc06c4308576c50e7c4929f35fd09ff069ac7.tar.gz calcurse-0acbc06c4308576c50e7c4929f35fd09ff069ac7.zip |
src/utils.c: Introduce parse_{time,duration}()
These helpers can be used in a fashion similar to parse_date(). In
addition to check_time(), parse_time() and parse_duration() support
short forms such as "23:" (instead of "23:00") and ":45" (instead of
"00:45").
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/day.c')
0 files changed, 0 insertions, 0 deletions