[evolution/gnome-2-32] Bug #592045 - Use week-day names in abbreviated date
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-2-32] Bug #592045 - Use week-day names in abbreviated date
- Date: Wed, 27 Oct 2010 09:22:28 +0000 (UTC)
commit b4442911f594f24a7d8d7c023f3f1f45e4361d4a
Author: Milan Crha <mcrha redhat com>
Date: Wed Oct 27 11:21:57 2010 +0200
Bug #592045 - Use week-day names in abbreviated date
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 11e7fb2..06de521 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");
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]