From 1c2a7abb234c65d10edd9ce70666b6114753d0c6 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 1 Mar 2010 16:34:55 -0600 Subject: Fixing time to remove leading zero --- src/indicator-datetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index 3fe11a3..8ae75fa 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -178,7 +178,7 @@ update_label (IndicatorDatetime * io) return; } - strftime(longstr, 128, "%I:%M %p", ltime); + strftime(longstr, 128, "%l:%M %p", ltime); gchar * utf8 = g_locale_to_utf8(longstr, -1, NULL, NULL, NULL); gtk_label_set_label(self->priv->label, utf8); -- cgit v1.2.3