aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/view-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/view-utils.c')
-rw-r--r--calendar/gui/view-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/view-utils.c b/calendar/gui/view-utils.c
index 6287b1cbfe..8cb7893377 100644
--- a/calendar/gui/view-utils.c
+++ b/calendar/gui/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++;