diff options
author | Frederic Culot <calcurse@culot.org> | 2007-03-17 16:43:25 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-03-17 16:43:25 +0000 |
commit | 9bc1bc0c4e27e60abad927ca26e5b36bcc456920 (patch) | |
tree | c52e3a8007c9dd2e1fa9e58260b94b1f0fb88ee8 /src | |
parent | 44dd9af32ade458fc6aeb4cb133d844ba863d089 (diff) | |
download | calcurse-9bc1bc0c4e27e60abad927ca26e5b36bcc456920.tar.gz calcurse-9bc1bc0c4e27e60abad927ca26e5b36bcc456920.zip |
date_sec2ical_date(), date_sec2ical_datetime() prototype added
Diffstat (limited to 'src')
-rwxr-xr-x | src/utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index f7e6f42..28a7a1a 100755 --- a/src/utils.h +++ b/src/utils.h @@ -1,4 +1,4 @@ -/* $calcurse: utils.h,v 1.15 2007/03/10 16:45:56 culot Exp $ */ +/* $calcurse: utils.h,v 1.16 2007/03/17 16:43:25 culot Exp $ */ /* * Calcurse - text-based organizer @@ -69,6 +69,8 @@ long date2sec(unsigned year, unsigned month, unsigned day, unsigned hour, unsigned min); char *date_sec2hour_str(long sec); char *date_sec2date_str(long sec); +void date_sec2ical_date(long sec, char *ical_date); +void date_sec2ical_datetime(long sec, char *ical_date); long update_time_in_date(long date, unsigned hr, unsigned min); long get_sec_date(int year, int month, int day); long min2sec(unsigned minutes); |