unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Martin Apel via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 56125@debbugs.gnu.org
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	[thread overview]
Message-ID: <87a6a33d3s.fsf@3ds.com> (raw)
In-Reply-To: <87fsjvzrxv.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 2524 bytes --]

Hallo Lars,


Lars Ingebrigtsen <larsi@gnus.org> 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 the following link
> <https://spam-report.3ds.com/?linktext=https://www.mailcontrol.com/sr/kra54IrKYHHGX2PQPOmvUiOFufhVdryLdnNqnQjMvSqaqSk_Vs5yB6Bl580EfnElME0E4c2ZJnGzbAWAmKJQAw>==
> (no login or additional action will be requested).
>
>
> Martin Apel <martin.apel@3ds.com> 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 timezones. 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 conversion 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 individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer at 3DS.compliance-privacy@3ds.com<mailto:3DS.compliance-privacy@3ds.com>


For other languages, go to https://www.3ds.com/terms/email-disclaimer

  reply	other threads:[~2022-06-23 10:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 14:21 bug#56125: 28.1; Timezone conversion sometimes wrong for recurring events, when importing ical to diary Martin Apel via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-21 18:57 ` Lars Ingebrigtsen
2022-06-21 22:10   ` Phil Sainty
2022-06-22  6:10   ` Martin Apel via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-23  8:48     ` Lars Ingebrigtsen
2022-06-23 10:06       ` Martin Apel via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-06-23 11:39         ` Lars Ingebrigtsen
2022-06-23 11:55           ` Martin Apel via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6a33d3s.fsf@3ds.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=56125@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=martin.apel@3ds.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).