Closed sebastianopilla closed 7 years ago
Hi @sebastianopilla , thank you for the PR :).
We will merge it as soon as possible!
Thank you @sebastianopilla for the PR. I tested it with Outlook 2010 and works as expected, the strange thing is that Outlook worked fine also with the current version. With what application are you using the feed?
@SitoCH Happy that it works for you as well. I've made this PR because I was seeing the wrong dates in both the latest Thunderbird 45.8.0 with the Lightning extension and in Google Calendar.
I checked the PR also with the macOS's Calendar and it's ok.
Thank you very much for helping us improve Lavagna!
This PR intends to fix an issue close to #70: when loading the calendar feed into a calendar application, due dates have no timezone indication and thus may appear earlier or later than the actual date .
For example, when I set a due date for 2017-04-03, my server which is in the Europe/Paris timezone outputs a calendar entry such as:
where the actual due date appears in the JSON responses from Lavagna as:
The 2-hours difference with GMT and the loss of the time component make calendar applications believe that this due date is Apr, 2 2017 at midnight, which is a day earlier than intended.
Due dates for milestones have the same issue.
With the changes from this pull request, due dates for cards and milestones are exported in UTC time so that calendar applications can correctly display dates and reminders.