aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-17 14:33:37 -0500
committerTed Gould <ted@gould.cx>2011-08-17 14:33:37 -0500
commitd6387351865a03d04d2d5881a59dd2652bc3947a (patch)
treed2a4b9dde6cb86c9e4cc3a6860eaefb63d4ada50 /src
parent1ade3ddcac2ab93e9391c7942fee22974ca739a9 (diff)
parentd8c9e950d6bf1a4f0134b67ea598bf48b9b029c2 (diff)
downloadayatana-indicator-datetime-d6387351865a03d04d2d5881a59dd2652bc3947a.tar.gz
ayatana-indicator-datetime-d6387351865a03d04d2d5881a59dd2652bc3947a.tar.bz2
ayatana-indicator-datetime-d6387351865a03d04d2d5881a59dd2652bc3947a.zip
Use locale prefered date format
Diffstat (limited to 'src')
-rw-r--r--src/datetime-prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index bed5ff1..e7fef5d 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -478,7 +478,7 @@ format_time_text (GtkWidget * spinner, gpointer user_data)
}
}
else {
- format = "%Y-%m-%d";
+ format = "%x";
}
GDateTime * datetime = g_date_time_new_from_unix_local (gtk_spin_button_get_value (GTK_SPIN_BUTTON (spinner)));