aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-01 16:34:55 -0600
committerTed Gould <ted@gould.cx>2010-03-01 16:34:55 -0600
commit1c2a7abb234c65d10edd9ce70666b6114753d0c6 (patch)
treeef426b02b4782a0dcd4b083dcdffcebe68f0f256
parenta526efc84112318aff7132f31051656bfd7b2eca (diff)
downloadayatana-indicator-datetime-1c2a7abb234c65d10edd9ce70666b6114753d0c6.tar.gz
ayatana-indicator-datetime-1c2a7abb234c65d10edd9ce70666b6114753d0c6.tar.bz2
ayatana-indicator-datetime-1c2a7abb234c65d10edd9ce70666b6114753d0c6.zip
Fixing time to remove leading zero
-rw-r--r--src/indicator-datetime.c2
1 files changed, 1 insertions, 1 deletions
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);