From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Martin Apel via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56125: 28.1; Timezone conversion sometimes wrong for recurring events, when importing ical to diary Date: Thu, 23 Jun 2022 12:06:59 +0200 Message-ID: <87a6a33d3s.fsf@3ds.com> References: <87edziccn1.fsf@3ds.com> <87edzhx2t2.fsf@gnus.org> <87edzh1aqf.fsf@3ds.com> <87fsjvzrxv.fsf@gnus.org> Reply-To: Martin Apel Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29108"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 28.1 Cc: 56125@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 23 12:30:34 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 1o4K6a-0007Df-HP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 12:30:33 +0200 Original-Received: from localhost ([::1]:43858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4K6Z-0002nw-Ik for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 06:30:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4Jni-0004wv-3l for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2022 06:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4Jnh-0003Cz-R7 for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2022 06:11:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4Jnh-0003nV-NC for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2022 06:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Martin Apel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Jun 2022 10:11:01 +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.165597900914508 (code B ref 56125); Thu, 23 Jun 2022 10:11:01 +0000 Original-Received: (at 56125) by debbugs.gnu.org; 23 Jun 2022 10:10:09 +0000 Original-Received: from localhost ([127.0.0.1]:37524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4Jmm-0003ls-Kv for submit@debbugs.gnu.org; Thu, 23 Jun 2022 06:10:09 -0400 Original-Received: from cluster-b.mailcontrol.com ([85.115.56.190]:50818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4JmY-0003lA-PU for 56125@debbugs.gnu.org; Thu, 23 Jun 2022 06:10:02 -0400 Original-Received: (from mailcontrol@localhost) by rly47b.srv.mailcontrol.com (MailControl) with ESMTP id 25NA9mP7174528; Thu, 23 Jun 2022 11:09:48 +0100 Original-Received: from rly47b.srv.mailcontrol.com (localhost [127.0.0.1]) by localhost (envelope-sender Martin.APEL@3ds.com) (MIMEDefang) with ESMTP id 25NA9kDI173627 (TLS bits=256 verify=OK); Thu, 23 Jun 2022 11:09:48 +0100 (BST) Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly47b.srv.mailcontrol.com (MailControl) id 25NA9kEX173612; Thu, 23 Jun 2022 11:09:46 +0100 Original-Received: from 3ds-eu-mhx-smtp-out.3ds.com ([91.103.45.119]) by rly47b-eth0.srv.mailcontrol.com (envelope-sender Martin.APEL@3ds.com) (MIMEDefang) with ESMTP id 25NA9hcI173038 (TLS bits=256 verify=OK); Thu, 23 Jun 2022 11:09:46 +0100 (BST) Original-Received: from LP5-MAL1-CEM.3ds.com (10.204.13.136) by EU-MHX-EXMBX14.dsone.3ds.com (10.6.91.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Thu, 23 Jun 2022 10:09:43 +0000 In-Reply-To: <87fsjvzrxv.fsf@gnus.org> X-Originating-IP: [10.204.13.136] X-ClientProxiedBy: EU-VEL-EXMBX03.dsone.3ds.com (10.7.91.153) To EU-MHX-EXMBX14.dsone.3ds.com (10.6.91.164) X-TM-AS-Product-Ver: SMEX-14.0.0.1158-9.0.1002-26972.002 X-TM-AS-Result: No-10--13.789200-8.000000 X-TMASE-MatchedRID: hls5oAVArl/o2d3orePV3bZ0InVwVLVTCJpCCsn6HCEpSjJzdWJccV+s U3aJSnqZMB50Ujmy9YmbnzypzJDvimQexWkOikPfKwi7MItzaY3iwxLjNbuPBfXGsfmQor+uGSE KEg7q+Dy30yTsoFo8ZRtV7v6pR4S1UhAs7A2TZS9Hw6LwC7GfeqVjgXyvS9c/zf+duMCJLExw4C DKub+trL/UrrlL+65RGCu3JkS0JpjcnTJr3Rr8lx1kSRHxj+Z5f5nV0t+9G6EiymDeZUyfzOLPL vmXofmpfS0Ip2eEHnzSCRHFh4/fhau5ndjAQzfa9xS3mVzWUuA152LecOHHIzaYrTCEDW9GKCPk B92H295sTHVa2njskS3lFjU6pqnI+nHeNsw+Qf0= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--13.789200-8.000000 X-TMASE-Version: SMEX-14.0.0.1158-9.0.1002-26972.002 X-TM-SNTS-SMTP: 3856F455B0A99CAD505E98D6A1BA9D40EDC47683092D76FCA2A9B7F1C4831A242000:8 X-MailControl-OutInfo: MTY1NTk3ODk4ODpGUEtleTEucHJpdjp7himMoz3gML+uVCJMj35JydOFzuqt0KwYk/wluEvfaeStI0vwldWpqANOGei0l6f6vYRJS+33m9Vv3X+E2grpIwM0nPt/PIYDyZH8tr5DFgqIHUTLQ9QsGEC8ku0yr8gdMWhhy6/mUVMw+yBKWbf8CX7Z2SQBYeFxYwxrUgVxJQCCWWjp147tT5ZSdro9rOPDEZo8w1JsaMicOVIaZUOLNtvmlYmX+/t/nm2WpOe/nnTvQMz6txlNZv2g9bDmE9maNZI7bfzbxtVl9ECSfAWtEPPPlopxXryzOqGI5+2+YoMeilRh1iyZPVT6bjowLjRaS0s8iAEPiKEoU0quCUtk X-Scanned-By: MailControl 44278.2134 (www.mailcontrol.com) on 91.103.45.119 X-Mailcontrol-Refers-To: 25NA9kDI173627 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=3ds.com; h=from:to:cc:subject:date:references:in-reply-to:message-id:mime-version:content-type; s=fpkey6354-2; bh=KbHDHwQtyRHmMEyQGhS9WlDMahmG5Q4vaFlmteCqTNs=; b=u9QP/Pf655d03ldUeO9MPPxv3rlyYXZeO9zHrHTSHEN8bINMLn5/Zwl8b5B7TqIdPKgvoE8KCVx96Fr+f8+cJnsTvomfv/1ray8DcBOdYA8ovTabXQQV0sOJHMLFYyU09DvYPkl5cOu7ePrVpl0dEImvIN1eq/5DVCI45hjQilb5SHxiqHOAD2fuoH5GuJMyQqeowb59QHKCK8djtm6hpBlYqhTk3hraKVT9U0r2C+kzKoKQA/8P7uR9XgDj/MW54dDyTR/vSlwCvXbP/o1CRjuToSc6gbYTLpmUVHohtxpgJgCuf70jb+F5YFZsK8mtXdg76vjGAbTj1SPxkPPZIw== 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:235095 Archived-At: --=-=-= Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hallo Lars, Lars Ingebrigtsen writes: > EXTERNAL EMAIL : The sender of this email is external to 3DS. Be wary of = the content and do not open unexpected > attachments or links. If you consider this email as spam, you can click t= he following link > =3D=3D > (no login or additional action will be requested). > > > Martin Apel writes: > >> Maybe this is a more general problem, that the diary does not consider >> timezones at all. I think, that the conversion functionality would >> need to convert each date of a recurring event separately, as the >> daylight savings time might have changed between consecutive >> repetitions. > > Yes, for repeating events, diary has to keep track of what the original > time zone (and time) is, and convert from that time each day. I've > skimmed the diary functions, and it doesn't seem like that's something > the diary functions have taken into accound, so patches welcome. I suppose, that it would be a major undertaking to teach the diary about ti= mezones. As this is a personal diary it probably also doesn't make too much sense. Therefore I wonder, if it wouldn= 't be the better approach, to split a recurring event from ical into separate events in the diary. This way the c= onversion functionality could convert each event separately. When I find the time, I can try to improve this, but for = now I don't fully understand the details of the code. This email and any attachments are intended solely for the use of the indiv= idual or entity to whom it is addressed and may be confidential and/or priv= ileged. If you are not one of the named recipients or have received this email in e= rror, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this em= ail and all attachments, (iii) Dassault Syst=C3=A8mes does not accept or assume any liability or res= ponsibility for any use of or reliance on this email. Please be informed that your personal data are processed according to our d= ata privacy policy as described on our website. Should you have any questio= ns related to personal data protection, please contact 3DS Data Protection = Officer at 3DS.compliance-privacy@3ds.com For other languages, go to https://www.3ds.com/terms/email-disclaimer --=-=-=--