diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-04-03 16:05:35 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-03 16:05:35 +0800 |
commit | e2fbfd581d4bfc223f50af93fb48667e78f4398d (patch) | |
tree | 3c3fb2bf21aac5610b122405d8f355aaa034a884 /calendar/gui/view-utils.c | |
parent | 45a75ede7ff27645c23cd0b009bf023bea2b6d2f (diff) | |
download | gsoc2013-evolution-e2fbfd581d4bfc223f50af93fb48667e78f4398d.tar gsoc2013-evolution-e2fbfd581d4bfc223f50af93fb48667e78f4398d.tar.gz gsoc2013-evolution-e2fbfd581d4bfc223f50af93fb48667e78f4398d.tar.bz2 gsoc2013-evolution-e2fbfd581d4bfc223f50af93fb48667e78f4398d.tar.lz gsoc2013-evolution-e2fbfd581d4bfc223f50af93fb48667e78f4398d.tar.xz gsoc2013-evolution-e2fbfd581d4bfc223f50af93fb48667e78f4398d.tar.zst gsoc2013-evolution-e2fbfd581d4bfc223f50af93fb48667e78f4398d.zip |
The "better" format string for strftime() wasn't better, after all :-(
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* view-utils.c (view_utils_draw_events): The "better" format
string for strftime() wasn't better, after all :-(
... plus more work on progress
svn path=/trunk/; revision=101
Diffstat (limited to 'calendar/gui/view-utils.c')
-rw-r--r-- | calendar/gui/view-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/view-utils.c b/calendar/gui/view-utils.c index 0c661d9dd6..f5a3b41928 100644 --- a/calendar/gui/view-utils.c +++ b/calendar/gui/view-utils.c @@ -79,11 +79,11 @@ view_utils_draw_events (GtkWidget *widget, GdkWindow *window, GdkGC *gc, GdkRect str = ico->summary; if (flags & VIEW_UTILS_DRAW_END) { - strftime (buf, 512, "%R%p-", &tm_start); + strftime (buf, 512, "%X-", &tm_start); len = strlen (buf); - strftime (buf + len, 512 - len, "%R%p ", &tm_end); + strftime (buf + len, 512 - len, "%X ", &tm_end); } else - strftime (buf, 512, "%R%p ", &tm_start); + strftime (buf, 512, "%X ", &tm_start); gdk_draw_string (window, widget->style->font, |