Your message dated Sun, 18 Oct 2020 20:44:50 +0200
with message-id <20201018184450.GC14403@curuxu>
and subject line Re: Bug#969728: claws-mail-vcalendar-plugin: Incorrect
timezone handling
has caused the Debian Bug report #969728,
regarding claws-mail-vcalendar-plugin: Incorrect timezone handling
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
969728: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969728
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: claws-mail-vcalendar-plugin
Version: 3.17.3-2
Severity: important
Dear Maintainer,
with claws-mail from Buster (3.17.3-2) the vcal plugin seems to
miscalculate some timestamps due to insufficient timezone handling.
This has been addressed a few times in the past but I think the
following .ics triggers something differently since all reports
(of fixed bugs) that I could find are way older than my version.
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
CREATED:20200901T141753Z
DESCRIPTION:blabla\nmore bla\n
DTEND;TZID=Europe/Vienna:20200907T140000
DTSTART;TZID=Europe/Vienna:20200907T130000
LOCATION:https://some.url/bla?blub
SUMMARY;LANGUAGE=us-EN:some text
UID:{dfdf450b-8eea-457b-9a73-8aa1d5bf1e9b}
BEGIN:VALARM
TRIGGER:-PT10M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
It is displayed at
- starting at "Mon, 7 Sep 2020 15:00:00 CEST"
- ending at "Mon, 7 Sep 2020 16:00:00 CEST"
Since my local time is according to the Europe/Vienna timezone just
like in the .ics (which is correctly displayed as CEST) the correct
time would be 13:00 to 14:00. It seems like the DST is applied
twice or something?
-- System Information:
Debian Release: 10.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500,
'stable'), (91, 'testing'), (10, 'unstable'), (5, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.5.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages claws-mail-vcalendar-plugin depends on:
ii claws-mail 3.17.3-2
ii libatk1.0-0 2.30.0-2
ii libc6 2.28-10
ii libcairo2 1.16.0-4
ii libcurl3-gnutls 7.64.0-4+deb10u1
ii libdb5.3 5.3.28+dfsg1-0.5
ii libetpan20 1.9.3-2
ii libexpat1 2.2.6-2+deb10u1
ii libfontconfig1 2.13.1-2
ii libfreetype6 2.9.1-3+deb10u1
ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1
ii libglib2.0-0 2.58.3-2+deb10u2
ii libgnutls30 3.6.7-4+deb10u5
ii libgtk2.0-0 2.24.32-3
ii libical3 3.0.4-3
ii liblockfile1 1.14-1.1
ii libpango-1.0-0 1.42.4-8~deb10u1
ii libpangocairo-1.0-0 1.42.4-8~deb10u1
ii libpangoft2-1.0-0 1.42.4-8~deb10u1
ii libsasl2-2 2.1.27+dfsg-1+deb10u1
claws-mail-vcalendar-plugin recommends no packages.
claws-mail-vcalendar-plugin suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Stefan,
On Mon, Sep 07, 2020 at 03:17:44PM +0200, Stefan Tauner wrote:
> Package: claws-mail-vcalendar-plugin
> Version: 3.17.3-2
> Severity: important
>
> Dear Maintainer,
>
> with claws-mail from Buster (3.17.3-2) the vcal plugin seems to
> miscalculate some timestamps due to insufficient timezone handling.
> This has been addressed a few times in the past but I think the
> following .ics triggers something differently since all reports
> (of fixed bugs) that I could find are way older than my version.
>
>
> BEGIN:VCALENDAR
> VERSION:2.0
> BEGIN:VEVENT
> CREATED:20200901T141753Z
> DESCRIPTION:blabla\nmore bla\n
> DTEND;TZID=Europe/Vienna:20200907T140000
> DTSTART;TZID=Europe/Vienna:20200907T130000
> LOCATION:https://some.url/bla?blub
> SUMMARY;LANGUAGE=us-EN:some text
> UID:{dfdf450b-8eea-457b-9a73-8aa1d5bf1e9b}
> BEGIN:VALARM
> TRIGGER:-PT10M
> ACTION:DISPLAY
> DESCRIPTION:Reminder
> END:VALARM
> END:VEVENT
> END:VCALENDAR
>
>
> It is displayed at
> - starting at "Mon, 7 Sep 2020 15:00:00 CEST"
> - ending at "Mon, 7 Sep 2020 16:00:00 CEST"
>
> Since my local time is according to the Europe/Vienna timezone just
> like in the .ics (which is correctly displayed as CEST) the correct
> time would be 13:00 to 14:00. It seems like the DST is applied
> twice or something?
No, the problem is that the above vcalendar component uses a timezone in
DTEND/DTSTART but does not include the VTIMEZONE component definition
for that zone, see https://tools.ietf.org/html/rfc5545#section-3.2.19
As stated in that point of the RFC “Failure to include and follow
VTIMEZONE definitions in iCalendar objects may lead to inconsistent
understanding of the local time at any given location.”, which is what's
happening here.
Closing this, since it's not a bug in vcalendar plugin, it correctly
tries to find the zone¹, but no definition for zones is available.
regards,
¹
https://sources.debian.org/src/claws-mail/3.17.3-2/src/plugins/vcalendar/vcal_folder.c/#L2161
--
Ricardo Mones
~
I'm sorry, my responses are limited. You must ask the right
questions. A hologram
signature.asc
Description: PGP signature
--- End Message ---