aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-04 11:47:11 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-04 11:47:11 -0500
commitc89170a38fb65a47c304c503a9299e79198e999e (patch)
treea2d82f76638fd04cffdd70ce356b05e8a5a0f1c2
parent0437c2f11953ed86a68e73c0d393f16506840b41 (diff)
downloadayatana-indicator-datetime-c89170a38fb65a47c304c503a9299e79198e999e.tar.gz
ayatana-indicator-datetime-c89170a38fb65a47c304c503a9299e79198e999e.tar.bz2
ayatana-indicator-datetime-c89170a38fb65a47c304c503a9299e79198e999e.zip
when an unsupported date format is being used, tell what it is so that we can triage the issue.
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index d50319e..49a1d0c 100644
--- a/src/service.c
+++ b/src/service.c
@@ -464,7 +464,7 @@ create_desktop_header_state (IndicatorDatetimeService * self)
str = g_date_time_format (now, fmt);
if (str == NULL)
{
- str = g_strdup (_("Unsupported date format"));
+ str = g_strdup_printf (_("Unsupported date format '%s'"), fmt);
g_warning ("%s", str);
}