aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-08-16 14:05:22 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-08-16 14:05:22 +0100
commitd8c9e950d6bf1a4f0134b67ea598bf48b9b029c2 (patch)
tree26a9225dbc1612263b6518e4315573ba6b7b2101 /src
parent535f3a157ed42ea19e74f1f2ed194500b29b150e (diff)
downloadayatana-indicator-datetime-d8c9e950d6bf1a4f0134b67ea598bf48b9b029c2.tar.gz
ayatana-indicator-datetime-d8c9e950d6bf1a4f0134b67ea598bf48b9b029c2.tar.bz2
ayatana-indicator-datetime-d8c9e950d6bf1a4f0134b67ea598bf48b9b029c2.zip
Show the preferred date representation for the current locale
Fixes https://bugs.launchpad.net/indicator-datetime/+bug/729056
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)));