[Commits] [SCM] claws branch, master, updated. 3.9.3-76-gf38cf9f

colin at claws-mail.org colin at claws-mail.org
Mon Apr 21 11:57:49 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  f38cf9f13e82e0c1012286573ad96511f2d868c1 (commit)
      from  6467a954acdc0f0e256f39f361ffcec44fabff3b (commit)


- Log -----------------------------------------------------------------
commit f38cf9f13e82e0c1012286573ad96511f2d868c1
Author: Colin Leroy <colin at colino.net>
Date:   Mon Apr 21 11:57:08 2014 +0200

    Fix bug #3117, "full-day event shown from 01:00 to 01:00 next day"

diff --git a/src/plugins/vcalendar/libical/libical/icaltime.c b/src/plugins/vcalendar/libical/libical/icaltime.c
index 8559667..b1a3b98 100644
--- a/src/plugins/vcalendar/libical/libical/icaltime.c
+++ b/src/plugins/vcalendar/libical/libical/icaltime.c
@@ -177,7 +177,7 @@ time_t icaltime_as_timet(struct icaltimetype tt)
     stm.tm_year = tt.year-1900;
     stm.tm_isdst = -1;
 
-    if(tt.is_utc == 1 || tt.is_date == 1){
+    if(tt.is_utc == 1 && tt.is_date == 0){
 	struct set_tz_save old_tz = set_tz("UTC");
 	t = mktime(&stm);
 	unset_tz(old_tz);

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/vcalendar/libical/libical/icaltime.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list