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>
This commit is contained in:
Lukas Fleischer
2011-03-04 10:08:02 +01:00
parent 082e7d4b98
commit fdcfd74823
3 changed files with 1 additions and 18 deletions

View File

@@ -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)
{