diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-03-04 10:08:02 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-03-04 10:08:02 +0100 |
commit | fdcfd74823beace1efbb01202e63e033755a8308 (patch) | |
tree | 9fdc1e53de06e0e4cd90b1a0e5f424e3655787e9 /src/day.c | |
parent | 082e7d4b98b54eb3669b86d8cd236bad3a8ddbab (diff) | |
download | calcurse-fdcfd74823beace1efbb01202e63e033755a8308.zip |
Remove date_sec2hour_str() from "utils.c".
date_sec2hour_str() is superseded by date_sec2date_str() with "%H:%M" as
date format string, so replace all invocations and remove that function
from "utils.c".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/day.c')
-rw-r--r-- | src/day.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -603,7 +603,7 @@ day_edit_time (long time) while (1) { status_mesg (msg_time, ""); - timestr = date_sec2hour_str (time); + timestr = date_sec2date_str (time, "%H:%M"); updatestring (win[STA].p, ×tr, 0, 1); if (check_time (timestr) != 1 || strlen (timestr) == 0) { |