aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/view-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/view-utils.c')
-rw-r--r--calendar/view-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/view-utils.c b/calendar/view-utils.c
index 6287b1cbfe..8cb7893377 100644
--- a/calendar/view-utils.c
+++ b/calendar/view-utils.c
@@ -25,9 +25,9 @@ nicetime (struct tm *tm)
strftime (buf, sizeof (buf), "%l%p", tm);
} else {
if (tm->tm_min)
- strftime (buf, sizeof (buf), "%k:%M", tm);
+ strftime (buf, sizeof (buf), "%H:%M", tm);
else
- strftime (buf, sizeof (buf), "%k", tm);
+ strftime (buf, sizeof (buf), "%H", tm);
}
while (*p == ' ')
p++;