From 8e5acf9ca6cc05d0de86c76bd82edbc0619e05e4 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 8 Dec 2006 08:35:55 +0000 Subject: date_sec2hour_str(), date_sec2date_str() and update_time_in_date() added --- src/utils.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils.h b/src/utils.h index 14e5607..215fca0 100755 --- a/src/utils.h +++ b/src/utils.h @@ -1,4 +1,4 @@ -/* $calcurse: utils.h,v 1.9 2006/11/30 08:12:23 culot Exp $ */ +/* $calcurse: utils.h,v 1.10 2006/12/08 08:35:55 culot Exp $ */ /* * Calcurse - text-based organizer @@ -65,6 +65,9 @@ void scroller(WINDOW *win, char *, int x, int y, int nb_row, int nb_col); void status_bar(int which_pan, int colr, int nc_bar, int nl_bar); long date2sec(unsigned year, unsigned month, unsigned day, unsigned hour, unsigned min); +char *date_sec2hour_str(long sec); +char *date_sec2date_str(long sec); +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); int check_time(char *string); -- cgit v1.2.3-54-g00ecf