aboutsummaryrefslogtreecommitdiffstats
path: root/src/day.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-04-13 19:19:48 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-04-17 11:10:11 +0200
commit0791eaabca0fb1ef8a8675e47d701bbcde4d4a3f (patch)
treea563f59a31955823cbf7c6856763f7654c2fb8e5 /src/day.c
parentb80c1f636417940500debdf823727b2a1b574335 (diff)
downloadcalcurse-0791eaabca0fb1ef8a8675e47d701bbcde4d4a3f.tar.gz
calcurse-0791eaabca0fb1ef8a8675e47d701bbcde4d4a3f.zip
Merge "%(start"{,str}")" and "%(end"{,str}")"
Add "default" and "epoch" extended formats for dates. "default" is the same as "%H:%M", "epoch" prints the number of seconds since January 1, 1970. Also, change the semantics of "%(start)" to return dates in default format (same format that "%(startstr)" used to use before this patch). The old "%(start)" behavior can be emulated by using "%(start:epoch)". The same applies to "%(end)" and "%(endstr)". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/day.c')
0 files changed, 0 insertions, 0 deletions