Lukas Fleischer 330ca4d3cb 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>
2011-11-14 11:08:14 +01:00
..
2011-11-14 11:08:14 +01:00
2011-11-11 12:29:48 +01:00
2011-11-14 11:08:14 +01:00
2011-11-14 11:08:14 +01:00
2011-06-09 21:37:22 +02:00
2011-11-14 11:08:14 +01:00
2011-11-02 19:33:23 +01:00
2011-10-05 12:25:48 +02:00
2011-10-05 12:25:46 +02:00
2011-11-02 19:33:23 +01:00
2011-11-11 12:29:48 +01:00
2011-11-14 11:08:14 +01:00
2011-10-05 12:25:46 +02:00
2011-10-05 12:25:46 +02:00
2011-11-02 19:33:23 +01:00
2011-11-14 11:08:14 +01:00
2011-07-02 10:09:18 +02:00
2011-11-14 11:08:14 +01:00