unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Martin Apel <martin.apel@3ds.com>
Cc: 56125@debbugs.gnu.org
Subject: bug#56125: 28.1; Timezone conversion sometimes wrong for recurring events, when importing ical to diary
Date: Tue, 21 Jun 2022 20:57:13 +0200	[thread overview]
Message-ID: <87edzhx2t2.fsf@gnus.org> (raw)
In-Reply-To: <87edziccn1.fsf@3ds.com> (Martin Apel's message of "Tue, 21 Jun 2022 16:21:56 +0200")

Martin Apel <martin.apel@3ds.com> 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="America/New_York":20220317T100000
DTEND;TZID="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...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-21 18:57 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 [this message]
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
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=87edzhx2t2.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56125@debbugs.gnu.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).