aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
parentcefae1e382dc6d4be423b587e3d0b02f619f4387 (diff)
downloadgsoc2013-evolution-0f8a086d1849fdc4b458394d9824f7f39295b557.tar.gz
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')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/view-utils.c4
-rw-r--r--calendar/view-utils.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 3093db0fd7..4eaa72306b 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calobj.c (daynumberlist): Work around broken software that
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++;
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++;