summaryrefslogtreecommitdiffstats
path: root/src/day.c
diff options
context:
space:
mode:
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)
{