From 0f8a086d1849fdc4b458394d9824f7f39295b557 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 2 Jun 1999 19:49:59 +0000 Subject: Use %H instead of %k, as %k is a GNU extension, not available in other 1999-06-02 Miguel de Icaza * view-utils.c (nicetime): Use %H instead of %k, as %k is a GNU extension, not available in other systems. svn path=/trunk/; revision=966 --- calendar/gui/view-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/view-utils.c') 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++; -- cgit v1.2.3