diff -Nru evolution-3.6.4.orig/debian/changelog evolution-3.6.4/debian/changelog --- evolution-3.6.4.orig/debian/changelog 2013-04-11 18:25:35.000000000 +0200 +++ evolution-3.6.4/debian/changelog 2013-04-21 13:17:07.885877996 +0200 @@ -1,3 +1,11 @@ +evolution (3.6.4-0ubuntu2) UNRELEASED; urgency=low + + * debian/patches/12_days_months_in_current_language.patch: + Display names of weekdays and months in the current language + (LP: #1160441). + + -- Gunnar Hjalmarsson Sun, 21 Apr 2013 13:17:00 +0200 + evolution (3.6.4-0ubuntu1) raring; urgency=low * New upstream bugfix release. (LP: #1158367) diff -Nru evolution-3.6.4.orig/debian/patches/12_days_months_in_current_language.patch evolution-3.6.4/debian/patches/12_days_months_in_current_language.patch --- evolution-3.6.4.orig/debian/patches/12_days_months_in_current_language.patch 1970-01-01 01:00:00.000000000 +0100 +++ evolution-3.6.4/debian/patches/12_days_months_in_current_language.patch 2013-04-21 13:15:28.077383072 +0200 @@ -0,0 +1,48 @@ +Description: Display names of weekdays and months in the current language +Bug: https://launchpad.net/bugs/1160441 +Forwarded: no +Author: Gunnar Hjalmarsson + +diff -ru evolution-3.6.4.orig/e-util/e-util.c evolution-3.6.4/e-util/e-util.c +--- evolution-3.6.4.orig/e-util/e-util.c 2013-01-19 18:35:13.000000000 +0100 ++++ evolution-3.6.4/e-util/e-util.c 2013-04-20 23:46:48.124590166 +0200 +@@ -1147,6 +1147,10 @@ + /* First Julian day was in January. */ + g_date_set_julian (&date, 1); + ++ const gchar *message_locale = setlocale (LC_MESSAGES, NULL); ++ const gchar *time_locale = setlocale (LC_TIME, NULL); ++ setlocale (LC_TIME, message_locale); ++ + for (ii = G_DATE_JANUARY; ii <= G_DATE_DECEMBER; ii++) { + g_date_strftime (buffer, sizeof (buffer), "%b", &date); + abbr_names[ii] = g_intern_string (buffer); +@@ -1155,6 +1159,8 @@ + g_date_add_months (&date, 1); + } + ++ setlocale (LC_TIME, time_locale); ++ + first_time = FALSE; + } + +@@ -1194,6 +1200,10 @@ + /* First Julian day was a Monday. */ + g_date_set_julian (&date, 1); + ++ const gchar *message_locale = setlocale (LC_MESSAGES, NULL); ++ const gchar *time_locale = setlocale (LC_TIME, NULL); ++ setlocale (LC_TIME, message_locale); ++ + for (ii = G_DATE_MONDAY; ii <= G_DATE_SUNDAY; ii++) { + g_date_strftime (buffer, sizeof (buffer), "%a", &date); + abbr_names[ii] = g_intern_string (buffer); +@@ -1202,6 +1212,8 @@ + g_date_add_days (&date, 1); + } + ++ setlocale (LC_TIME, time_locale); ++ + first_time = FALSE; + } + diff -Nru evolution-3.6.4.orig/debian/patches/series evolution-3.6.4/debian/patches/series --- evolution-3.6.4.orig/debian/patches/series 2013-03-23 13:37:39.000000000 +0100 +++ evolution-3.6.4/debian/patches/series 2013-04-20 23:59:00.096219817 +0200 @@ -4,6 +4,7 @@ 10_desktop_shortcuts.patch 10_revert_libevolution_avoid-version.patch 11_remove_upstream_submit_bugreport.patch +12_days_months_in_current_language.patch 20_skip_broken_gconf_conversions.patch 91_add_u1_email_translations.patch alarm-notify-nodisplay.patch