aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/view-utils.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-06-03 03:49:59 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-06-03 03:49:59 +0800
commit0f8a086d1849fdc4b458394d9824f7f39295b557 (patch)
tree5fe0469a44b3e496d67f166bc0837f188436930a /calendar/gui/view-utils.c
parentcefae1e382dc6d4be423b587e3d0b02f619f4387 (diff)
downloadgsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.tar
gsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.tar.gz
gsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.tar.bz2
gsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.tar.lz
gsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.tar.xz
gsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.tar.zst
gsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.zip
Use %H instead of %k, as %k is a GNU extension, not available in other
1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * 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
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++;