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: Wed, 22 Jun 2022 08:10:34 +0200 Message-ID: <87edzh1aqf.fsf@3ds.com> References: <87edziccn1.fsf@3ds.com> <87edzhx2t2.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="32492"; 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 Wed Jun 22 08:21:56 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 1o3tkR-0008E0-SQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 08:21:56 +0200 Original-Received: from localhost ([::1]:52254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3tkQ-0007fI-PU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 02:21:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3tic-0006tT-5t for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 02:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3tib-00043z-U4 for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 02:20:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3tib-0005mr-Pm for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 02:20: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: Wed, 22 Jun 2022 06:20: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.165587878022212 (code B ref 56125); Wed, 22 Jun 2022 06:20:01 +0000 Original-Received: (at 56125) by debbugs.gnu.org; 22 Jun 2022 06:19:40 +0000 Original-Received: from localhost ([127.0.0.1]:33787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3ti7-0005lz-6X for submit@debbugs.gnu.org; Wed, 22 Jun 2022 02:19:40 -0400 Original-Received: from cluster-b.mailcontrol.com ([85.115.56.190]:45000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3ti4-0005lq-Vw for 56125@debbugs.gnu.org; Wed, 22 Jun 2022 02:19:30 -0400 Original-Received: (from mailcontrol@localhost) by rly48b.srv.mailcontrol.com (MailControl) with ESMTP id 25M6JRoU096795; Wed, 22 Jun 2022 07:19:27 +0100 Original-Received: from rly48b.srv.mailcontrol.com (localhost [127.0.0.1]) by localhost (envelope-sender Martin.APEL@3ds.com) (MIMEDefang) with ESMTP id 25M6JM6U094863 (TLS bits=256 verify=OK); Wed, 22 Jun 2022 07:19:27 +0100 (BST) Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly48b.srv.mailcontrol.com (MailControl) id 25M6JMUB094812; Wed, 22 Jun 2022 07:19:22 +0100 Original-Received: from 3ds-eu-mhx-smtp-out.3ds.com ([91.103.45.119]) by rly48b-eth0.srv.mailcontrol.com (envelope-sender Martin.APEL@3ds.com) (MIMEDefang) with ESMTP id 25M6JKQb093693 (TLS bits=256 verify=OK); Wed, 22 Jun 2022 07:19:22 +0100 (BST) Original-Received: from LP5-MAL1-CEM.3ds.com (10.205.25.177) 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; Wed, 22 Jun 2022 06:19:19 +0000 In-Reply-To: <87edzhx2t2.fsf@gnus.org> X-Originating-IP: [10.205.25.177] X-ClientProxiedBy: EU-VEL-EXMBX10.dsone.3ds.com (10.7.91.160) To EU-MHX-EXMBX14.dsone.3ds.com (10.6.91.164) X-TM-AS-Product-Ver: SMEX-14.0.0.1158-9.0.1002-26970.005 X-TM-AS-Result: No-10--24.193600-8.000000 X-TMASE-MatchedRID: +f/wAVSGjujo2d3orePV3bZ0InVwVLVTCJpCCsn6HCEpSjJzdWJccV+s U3aJSnqZMB50Ujmy9YmbnzypzJDvimQexWkOikPfKwi7MItzaY3iwxLjNbuPBf4DDXoaCqk7yBR n6V4VY+6zWVOWI+JSh6mB/WMy6fl7qZe6vtX5J7zece0aRiX9WmUfjhTZG7XaUCgEErrUGFwpzW EpqR83WfMg+Vd0XoGtzt9fSu7E36KwHb9D99XpM25IHkZABHAUXs5nqGvDCfORdpEUSo1EPYf61 dbc+smNumrocKW8orz8yn7BDHtRSIJYxfHyi9oJ4vM1YF6AJbYmO2KLhx1YjqAlhyXj30cSxEHR ux+uk8gVPU8Gz4xVjecjNHNZLY/T X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--24.193600-8.000000 X-TMASE-Version: SMEX-14.0.0.1158-9.0.1002-26970.005 X-TM-SNTS-SMTP: 6FB1CB69CA68343D416089F49C0D9E59A8030714D3D1D0CFB646967F6409C7AD2000:8 X-MailControl-OutInfo: MTY1NTg3ODc2NjpGUEtleTEucHJpdjpEBOJEXa2Hd173v+qjHgLbZlBHdbNagKP0ZYnLVq1i/qLpXO+pE1Orw7u8inZe2owRFE2MJXAy5KfUNczOQRZVfm+4qigkhu6Q8t9S5mZboRC2aRlv7lIvlieF6ebcBM1w22KyHuk6e7VZVWR7+l7zeq+GOPuhi/OGxr+0CIS6VupYdDP3CCXV67xPf6h+e7+juvvXgSbpq0FYmKaNOj1cZglqxN/KjiOg25evYVAQBwwp/lGPyna/Zf5W6APQHZYZuE+3QqtxZgCvNnXF6U3U5YxjLC4v+xinXX+GPurTrIzyUce5kd+koM0mU5pWpAef3S+7GOLfN6wrnexMgwr6 X-Scanned-By: MailControl 44278.2134 (www.mailcontrol.com) on 91.103.45.119 X-Mailcontrol-Refers-To: 25M6JM6U094863 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=1WQgun3JEC14EHQii0giizcGBqanDRo/WNcBhuu37bs=; b=L1VFm5VFvBskcFG0F+Oy9KQhyYG/gPyr9L9B8Pa3HhUzhj3HBmEwNt+t147A6x7A7ucDkOKM851GkxwOuS4k1pqrFb6BQ8USx4pERGPjYpRrXx52FybYXnqIAJpgngtqzshQas5n0DRYMvdI/wrv6vHQJQ57ENPekKsy4Jn1gVTuInkmErShJ/9snzx5sPxwUsu9DnBnw+XKNFS8W+6RZ0fcbw5TSx4Z4hqr8XYTArmUUepq9il05IUfdbrwY75uYkYAOeCy/7yQb1SmHeLjbAYEBOhxofA4BQfOqvZyHa18veYbO2fWKydhw02+BYPOJ0eMsAmAAsgXHEC7usJZDA== 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:235002 Archived-At: --=-=-= Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi 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: > >> When importing the attached minimal ical file using >> icalendar-import-file, the resulting time is off by one hour. The >> problem probably lies somewhere in >> icalendar--convert-recurring-to-diary, but I couldn't pinpoint the >> exact location. The only meeting in the attached icalendar file is >> defined in timezone 'America/New_York' at 10 am. It shows up in my >> diary (which is timezone 'Europe/Berlin') at 3pm, even though the time >> difference between the two timezones is 6 hours. > > No, the difference varies -- Daylight Savings started on March 13 in the > US but on March 27 in the EU, and in that period there was a five hour > difference. > > And: > > DTSTART;TZID=3D"America/New_York":20220317T100000 > DTEND;TZID=3D"America/New_York":20220317T103000 > > This was in the middle of that period. So this seems like it's working > as it should? > > But if I'm reading the ical file right, this is a recurring (weekly?) > event, so it should be at 4pm after March 27... I thought that it might have something to do with the different start dates= for daylight savings time. However it should show up at 4pm, but it shows up at 3pm after March 27. Maybe this is a more general problem, that the diary does not consider time= zones at all. I think, that the conversion functionality would need to convert each date of a recurring event separate= ly, as the daylight savings time might have changed between consecutive repetitions. However the diary syntax does not= allow to specify this, as far as I understand. So maybe this is more of a shortcoming in the diary syntax than= a conversion problem. Probably instead of diary-cyclic another sexp would be needed, which also takes the time of day= into account, which diary-cyclic does not do. Thanks, Martin 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 --=-=-=--