summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2015-04-10 09:29:17 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2015-04-10 09:42:34 +0200
commitebb811605632a1bfd75c1dadd2edf26950c6966c (patch)
treee13e22434263e684d6c1eaea386dbf48caa24643 /src/calcurse.h
parent5ac3d43e9af1d901b0db6967999413a6e3364cc5 (diff)
downloadcalcurse-ebb811605632a1bfd75c1dadd2edf26950c6966c.zip
Split out code for drawing week numbers
This allows for easily adding week numbers to other panel modes, such as the monthly view. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index a1b59cf..efbdb81 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -1051,6 +1051,7 @@ int is_all_digit(const char *);
long get_item_time(long);
int get_item_hour(long);
int get_item_min(long);
+struct tm date2tm(struct date, unsigned, unsigned);
time_t date2sec(struct date, unsigned, unsigned);
time_t utcdate2sec(struct date, unsigned, unsigned);
char *date_sec2date_str(long, const char *);