diff options
author | Michael Terry <michael.terry@canonical.com> | 2013-03-07 10:35:04 -0500 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2013-03-07 10:35:04 -0500 |
commit | 52677180cff243510db621739653fd6589e5820f (patch) | |
tree | 61d9b306a2ad2acdf045957c5e57bb00a5534492 /src | |
parent | 0347c765edecb748643e5c51d38aaba51e6da266 (diff) | |
download | ayatana-indicator-datetime-52677180cff243510db621739653fd6589e5820f.tar.gz ayatana-indicator-datetime-52677180cff243510db621739653fd6589e5820f.tar.bz2 ayatana-indicator-datetime-52677180cff243510db621739653fd6589e5820f.zip |
Go back to ISO 8601 dates
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-prefs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c index 952dce1..c02b8e2 100644 --- a/src/datetime-prefs.c +++ b/src/datetime-prefs.c @@ -498,7 +498,10 @@ format_time_text (GtkWidget * spinner, gpointer user_data) } } else { - format = "%x"; + // This is intentionally not "%x". See https://launchpad.net/bugs/1149696 + // If you are willing to do the hard work of writing a locale-sensitive + // date parser, there is an open bug: https://launchpad.net/bugs/729056 + format = "%Y-%m-%d"; } GDateTime * datetime = g_date_time_new_from_unix_local (gtk_spin_button_get_value (GTK_SPIN_BUTTON (spinner))); |