summaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-10-05 09:28:17 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-10-06 12:37:06 +0200
commit39dd3c251db7a70b9ec013781ca74fe6fc241792 (patch)
tree2d51ca2c43a18354441fb13233728f38a339a01e /src/utils.c
parent0acbc06c4308576c50e7c4929f35fd09ff069ac7 (diff)
downloadcalcurse-39dd3c251db7a70b9ec013781ca74fe6fc241792.tar.gz
calcurse-39dd3c251db7a70b9ec013781ca74fe6fc241792.zip
Use parse_{time,duration}() where appropriate
Make use of these new helpers at various places. Note that this patch implies a few behavioural changes: * Short forms such as "23:" and ":45" are allowed when entering times. * Durations always need to be prefixed with a plus sign ("+"), with the nice side effect that you can now use "+3:30" to declare an appointment that lasts three hours and thirty minutes (that's much more convenient than "+210"). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions