From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83865 Path: news.gmane.org!not-for-mail From: Jan Tatarik Newsgroups: gmane.emacs.gnus.general Subject: Re: iCalendar integration - time zone issue Date: Mon, 11 Nov 2013 23:58:56 +0100 Message-ID: <87mwlao89b.fsf@nb-jtatarik2.xing.hh> References: <87a9hbdlil.fsf@topper.koldfront.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384210806 27259 80.91.229.3 (11 Nov 2013 23:00:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 23:00:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32121@lists.math.uh.edu Tue Nov 12 00:00:08 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vg0Sm-0003Bh-0n for ding-account@gmane.org; Tue, 12 Nov 2013 00:00:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Vg0Rx-0004kD-6A; Mon, 11 Nov 2013 16:59:17 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Vg0Ru-0004jz-GO for ding@lists.math.uh.edu; Mon, 11 Nov 2013 16:59:14 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Vg0Rt-0000u6-3p for ding@lists.math.uh.edu; Mon, 11 Nov 2013 16:59:14 -0600 Original-Received: from mail-bk0-f45.google.com ([209.85.214.45]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Vg0Rr-0008N3-OA for ding@gnus.org; Mon, 11 Nov 2013 23:59:11 +0100 Original-Received: by mail-bk0-f45.google.com with SMTP id r7so1960433bkg.32 for ; Mon, 11 Nov 2013 14:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=pN7kJAerYHRnIorMLYy8SddDNaC0dl2Qby4g1OszKSQ=; b=n+HZuWd8nyna6ysv9OVSJmd+n2BGpuLPoGAwTgJwhtSawNtSH4X6x8aJa0QVhEVx0W G35M1VSgThUpIhWcOQVo+Va4b4mahtv7OskwrPvZIZ42sijsg7j+VwdyYXYnJ23CaOkR yftYoGvDpH6jISjhSSiwK31PGcv9oIPMJ/sfVHO24ojVmmsHN7poaUVdLHIJrwxBfIAv x/VxYHx9SRYcJeJ/HEPolyk1qfBMa0niraAyEXT/3k0vGeHlp63EuqjXk/u+vnyBXz1D K4tFIP2wWWofmilJW8+7t5tkqzAgrB1CDhcyH9F59noGZuZ5wnr0rCvX5pZhM+BTHAHo xmEw== X-Received: by 10.204.247.71 with SMTP id mb7mr23511528bkb.7.1384210746170; Mon, 11 Nov 2013 14:59:06 -0800 (PST) Original-Received: from nb-jtatarik2.xing.hh (g224029147.adsl.alicedsl.de. [92.224.29.147]) by mx.google.com with ESMTPSA id kk2sm15886246bkb.10.2013.11.11.14.59.04 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 11 Nov 2013 14:59:05 -0800 (PST) In-Reply-To: <87a9hbdlil.fsf@topper.koldfront.dk> ("Adam \=\?utf-8\?Q\?Sj\?\= \=\?utf-8\?Q\?\=C3\=B8gren\=22's\?\= message of "Mon, 11 Nov 2013 16:08:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83865 Archived-At: On Mon, Nov 11 2013, Adam Sj=C3=B8gren wrote: > I am throroughly enjoying the integration of emails with text/calendar > parts and Gnus/org-mode. It is really nice that I don't have to open a > remote desktop to a Windows machine to do calendaring. > Recently a problem has popped up (there is always a catch). For some > reason, appointments are shown / stored 1 hour earlier than they were > supposed to in Gnus/org-mode. > So in Gnus I see: > Time: <2013-11-15 Fri 13:30-14:00> > but in Outlook the meeting actually is 14:30-15:00. > When I look at the "raw" VCALENDAR entry, I see this: > DTSTART;TZID=3DRomance Standard Time:20131115T143000 > DTEND;TZID=3DRomance Standard Time:20131115T150000 > which makes me guess that somehow the code doesn't know that "Romance > Standard Time" is the same as +0100 (CET), which I am in. > Does this sound like a plausible guess, or does Gnus look at some other > fields (instead/as well)? Any ideas for fixing it? Can you post the whole vcalendar? That would help. In any case, there should be a VTIMEZONE section with a definition of the timezone used in DTSTART. Something like BEGIN:VTIMEZONE TZID:W. Europe Standard Time BEqGIN:STANDARD DTSTART:16010101T030000 TZOFFSETFROM:+0200 TZOFFSETTO:+0100 RRULE:FREQ=3DYEARLY;INTERVAL=3D1;BYDAY=3D-1SU;BYMONTH=3D10 END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T020000 TZOFFSETFROM:+0100 TZOFFSETTO:+0200 RRULE:FREQ=3DYEARLY;INTERVAL=3D1;BYDAY=3D-1SU;BYMONTH=3D3 END:DAYLIGHT END:VTIMEZONE If there's no definition for the Romance Standard Time, gnus-icalendar won't be able to adjust for the DTSTART/DTEND timezones. If the definitions is there, then we have a bug and I would be doubly interested in the actual VCALENDAR contents.