Mailspring: Bug: Timezone handling for event invites is incorrect

Created on 3 Jun 2020  路  3Comments  路  Source: Foundry376/Mailspring

Describe the bug
When you receive an event invite, the time displayed is in the _senders_ local time, but the timezone displayed is the _received_ timezone.

For example, if I, as the sender am in Bulgaria (EEST (UTC+3)), and I send an invite for an event at 4pm EEST to a recipient in the UK (BST (UTC+1)), the recipient should see the invite time as 2pm BST. However instead it displays 4pm BST (the senders time, but with BST as the timezone).

Have logged into GMail and confirmed that, in GMail, the correct time is displayed (2pm BST):

Incorrect time shown in Mailspring

Correct time shown on GMail

To Reproduce
Steps to reproduce the behavior:

  1. Send an invite (likely _not_ by using Mailspring) from one timezone (e.g. EST)
  2. Receive the invite via Mailspring with your setup to use a different timezone from the original invite (e.g. PST)
  3. See the time as being the invite time from the sender, but suffixed with your local timezone.

Expected behavior
Either a) The time should be shown using the senders time _and_ timezone (not ideal), or the time should be showng and converted to your timezone (preferable).

Screenshots
See above

Setup: (please complete the following information):

  • OS: Fedora
  • OS Fedora release 28 (Twenty Eight)
  • Mailspring Version: 1.7.6

Additional context
Have only tested _receiving_ invites into a GSuite/GMail account - haven't tested sending them, or seeing if the same issue exists when receiving invites through other mail providers, although I cannot see why it wouldn't.

bug

Most helpful comment

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 3 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

More confirmation

image

Damn it, this made me wake me up early in the morning for an event happening way later!

immagine

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KristerV picture KristerV  路  3Comments

ghost picture ghost  路  3Comments

DanielRios549 picture DanielRios549  路  3Comments

dgattey picture dgattey  路  3Comments

spartero picture spartero  路  3Comments