summaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-10-05 09:06:18 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-10-06 12:37:06 +0200
commit0acbc06c4308576c50e7c4929f35fd09ff069ac7 (patch)
treeafb7dd5fd516484e37b09b790030ba83fc75d1f8 /src/io.c
parentd874f7ff974934aa9e8265e0deb7c03a2dab235c (diff)
downloadcalcurse-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/io.c')
0 files changed, 0 insertions, 0 deletions