aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-11-09 18:29:22 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-11-14 11:08:14 +0100
commit330ca4d3cbd702f4f0e7689a1da4f77945f768e0 (patch)
tree233a65e28b80e86ee11039814793e534a3bedc84 /NEWS
parentedad2f39db6d7ad4bcb41d04298b87c0de26fe1a (diff)
downloadcalcurse-330ca4d3cbd702f4f0e7689a1da4f77945f768e0.tar.gz
calcurse-330ca4d3cbd702f4f0e7689a1da4f77945f768e0.zip
Use a dynamic method to print appointments to stdout
Add a flexible helper function print_apoint() and use it whenever we print appointments to stdout. This reduces the number of copy-pasted code and eventually allows for specifying custom format strings. Following format specifiers are supported: * s: Print the start time of the appointment as UNIX time stamp * S: Print the start time of the appointment using the "hh:mm" format * d: Print the duration of the appointment in seconds * e: Print the end time of the appointment as UNIX time stamp * E: Print the end time of the appointment using the "hh:mm" format * m: Print the description of the item * n: Print the name of the note file belonging to the item Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions