summaryrefslogtreecommitdiff
path: root/src/day.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-03-04 10:08:02 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-03-04 10:08:02 +0100
commitfdcfd74823beace1efbb01202e63e033755a8308 (patch)
tree9fdc1e53de06e0e4cd90b1a0e5f424e3655787e9 /src/day.c
parent082e7d4b98b54eb3669b86d8cd236bad3a8ddbab (diff)
downloadcalcurse-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/day.c b/src/day.c
index a838d87..061b670 100644
--- a/src/day.c
+++ b/src/day.c
@@ -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, &timestr, 0, 1);
if (check_time (timestr) != 1 || strlen (timestr) == 0)
{