Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Events are shown one day longer than scheduled #375

Open
malemburg opened this Issue Apr 4, 2014 · 2 comments

Comments

Projects
None yet
2 participants
Member

malemburg commented Apr 4, 2014

See e.g. https://www.python.org/events/python-events/?page=2

PyCon UK is from Sept 19-22, but the listing shows Sept 19-23.

I guess this has to do with timezones again. Note that most events in the events calendar are full day events.

@malemburg malemburg added the bug label Apr 4, 2014

Contributor

jacobb commented Jul 15, 2014

This actually seems to be a misunderstanding with the ics format than timezones -- from what I can tell, the .ics file stores full-day events with a DTEND value of (to use the given example):

DTSTART;VALUE=DATE:20140919
DTEND;VALUE=DATE:20140923

That is, they "end" (exclusively) at midnight the day after the last day of the event.

Best way to solve this, I think, is to see if DTEND is a date (as opposed to a datetime), and if so, backtrack the end of the event by one day.

Would like to get a confirmation on this before merging, but I'll write up code for it and tag this issue tonight.

@malemburg malemburg added the calendars label Feb 20, 2015

Member

malemburg commented Feb 20, 2015

This is most likely related to #560.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment