diff options
author | Milan Crha <mcrha@redhat.com> | 2010-10-27 17:21:57 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-10-27 17:21:57 +0800 |
commit | b4442911f594f24a7d8d7c023f3f1f45e4361d4a (patch) | |
tree | fd5794f800f7020957873f236a9b8d56c12cae09 | |
parent | d0582dca511f0eee8bf3ba0e6e4c87fda783b3ba (diff) | |
download | gsoc2013-evolution-b4442911f594f24a7d8d7c023f3f1f45e4361d4a.tar gsoc2013-evolution-b4442911f594f24a7d8d7c023f3f1f45e4361d4a.tar.gz gsoc2013-evolution-b4442911f594f24a7d8d7c023f3f1f45e4361d4a.tar.bz2 gsoc2013-evolution-b4442911f594f24a7d8d7c023f3f1f45e4361d4a.tar.lz gsoc2013-evolution-b4442911f594f24a7d8d7c023f3f1f45e4361d4a.tar.xz gsoc2013-evolution-b4442911f594f24a7d8d7c023f3f1f45e4361d4a.tar.zst gsoc2013-evolution-b4442911f594f24a7d8d7c023f3f1f45e4361d4a.zip |
Bug #592045 - Use week-day names in abbreviated date
-rw-r--r-- | e-util/e-datetime-format.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/e-util/e-datetime-format.c b/e-util/e-datetime-format.c index 11e7fb2707..06de521f64 100644 --- a/e-util/e-datetime-format.c +++ b/e-util/e-datetime-format.c @@ -201,7 +201,7 @@ format_relative_date (time_t tvalue, time_t ttoday, const struct tm *value, cons future = TRUE; diff = ABS (diff); - + if (diff <= 1) { if (future) res = g_strdup (_("Tomorrow")); @@ -212,8 +212,7 @@ format_relative_date (time_t tvalue, time_t ttoday, const struct tm *value, cons /* Translators: %d is replaced with a number of days. It's always greater than 1 */ res = g_strdup_printf (ngettext ("%d day from now", "%d days from now", diff), diff); } else { - /* Translators: %d is replaced with a number of days. It's always greater than 1 */ - res = g_strdup_printf (ngettext ("%d day ago", "%d days ago", diff), diff); + res = g_strdup ("%a"); } } } |