evolution r36654 - branches/gnome-2-24/plugins/itip-formatter
- From: msuman svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36654 - branches/gnome-2-24/plugins/itip-formatter
- Date: Mon, 20 Oct 2008 03:51:00 +0000 (UTC)
Author: msuman
Date: Mon Oct 20 03:51:00 2008
New Revision: 36654
URL: http://svn.gnome.org/viewvc/evolution?rev=36654&view=rev
Log:
Milan Crha <mcrha redhat com> ** Fix for bug #514989 (Calculate tomorrow from current time, not from the date to convert).
Modified:
branches/gnome-2-24/plugins/itip-formatter/ChangeLog
branches/gnome-2-24/plugins/itip-formatter/itip-view.c
Modified: branches/gnome-2-24/plugins/itip-formatter/itip-view.c
==============================================================================
--- branches/gnome-2-24/plugins/itip-formatter/itip-view.c (original)
+++ branches/gnome-2-24/plugins/itip-formatter/itip-view.c Mon Oct 20 03:51:00 2008
@@ -152,7 +152,7 @@
/* Calculate a normalized "tomorrow" */
tomorrow_tm = *current_tm;
/* Don't need this if date is in the past. Also, year assumption won't fail. */
- if (date_tm->tm_year >= current_tm->tm_year && tomorrow_tm.tm_mday == time_days_in_month (date_tm->tm_year + 1900, date_tm->tm_mon)) {
+ if (date_tm->tm_year >= current_tm->tm_year && tomorrow_tm.tm_mday == time_days_in_month (current_tm->tm_year + 1900, current_tm->tm_mon)) {
tomorrow_tm.tm_mday = 1;
if (tomorrow_tm.tm_mon == 11) {
tomorrow_tm.tm_mon = 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]