From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#56125: 28.1; Timezone conversion sometimes wrong for recurring events, when importing ical to diary Date: Wed, 22 Jun 2022 10:10:08 +1200 Message-ID: <76e992b96c85d7ce5641c042405c5fd1@webmail.orcon.net.nz> References: <87edziccn1.fsf@3ds.com> <87edzhx2t2.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_bc017c1fc484f60dad1c4f24dc6ab4b1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5554"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: 56125@debbugs.gnu.org, Martin Apel To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 22 00:11:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3m5X-0001Jd-9N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 00:11:11 +0200 Original-Received: from localhost ([::1]:60454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3m5V-0006HU-Ho for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 18:11:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3m5P-0006HJ-05 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 18:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3m5O-0004nP-O0 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 18:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3m5O-0007Ht-IF for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 18:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2022 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56125 X-GNU-PR-Package: emacs Original-Received: via spool by 56125-submit@debbugs.gnu.org id=B56125.165584941927953 (code B ref 56125); Tue, 21 Jun 2022 22:11:02 +0000 Original-Received: (at 56125) by debbugs.gnu.org; 21 Jun 2022 22:10:19 +0000 Original-Received: from localhost ([127.0.0.1]:33491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3m4h-0007Gn-Ke for submit@debbugs.gnu.org; Tue, 21 Jun 2022 18:10:19 -0400 Original-Received: from smtp-2.orcon.net.nz ([60.234.4.43]:43349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3m4e-0007Gb-Ql for 56125@debbugs.gnu.org; Tue, 21 Jun 2022 18:10:18 -0400 Original-Received: from [10.253.37.70] (port=49881 helo=webmail.orcon.net.nz) by smtp-2.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1o3m4W-0003NR-Kd; Wed, 22 Jun 2022 10:10:08 +1200 Original-Received: from ip-116-251-140-135.kinect.net.nz ([116.251.140.135]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 22 Jun 2022 10:10:08 +1200 In-Reply-To: <87edzhx2t2.fsf@gnus.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234985 Archived-At: --=_bc017c1fc484f60dad1c4f24dc6ab4b1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I've also had some issues with ical->diary times, but it's a feature I've barely started using, so I don't have much input and I'd not tried to debug it. I'm using the mu4e email client as the UI for importing these from email attachments, but AFAICS that's using icalendar.el via: (icalendar-import-file path diary-file) In my case the issue isn't restricted to recurring events, and in general the times imported into the diary seem to be 0.5 hours later than they ought to be. The example below (full file attached) is for a meeting from 15:30 to 16:00 on the 20th, and it showed up in my diary as 16:00 to 16:30. DTSTART;TZID=/freeassociation.sourceforge.net/Pacific/Auckland: 20220620T153000 DTEND;TZID=/freeassociation.sourceforge.net/Pacific/Auckland: 20220620T160000 Something noteworthy about the full attached file is just how many entries there are for daylight savings vs standard time within the VTIMEZONE block. This seems to be a history of daylight savings variations for the timezone, so I did wonder whether that could be causing any confusion. -Phil --=_bc017c1fc484f60dad1c4f24dc6ab4b1 Content-Transfer-Encoding: base64 Content-Type: application/x-gzip; name=example.ics.gz Content-Disposition: attachment; filename=example.ics.gz; size=873 H4sICD09smIAA2V4YW1wbGUuaWNzAK2XW3OaQBSA3/dX+N4x7AXkknGmq6yGDiwWVif6hoiprUpG Y6f99z1IGi+JaBJ9wgXPfvud3eOhJbqedAZt7gvp8gjBRVx8cbqR6IaRxyXqRaHruU5d0+5ni1my 1DQZyrgb+DXxO59vnmb5stZO5tlykqw0TUg0EFHshdKhNx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