Opened 7 years ago

Last modified 5 years ago

#3261 new defect (bug)

Events API: returning past meetups

Reported by: sippis's profile sippis Owned by:
Milestone: Priority: normal
Component: Events API Keywords: needs-patch


At this moment, API is returning yesterdays meetup when location is [Tampere](

Also duplicate appearance after meetup modification is visible here, as reported first time in #3027.

Change History (3)

#1 @iandunn
7 years ago

IIRC, the endpoint intentionally returns events within a 24 hour window because timezones add extra complexity in determining when an event is in the past or not. I don't think we have a data source that maps lat/long coordinates to timezones, but there might be a good open source one out there.

We might be able to rely on the user's timezone that gets passed to the endpoint sometimes, but I don't think we'd be able to always rely on it.

#2 @dd32
7 years ago

IIRC The main issue with timezone support was that's API only returned timestamps in event local-time without any form of timezone specifier - so we'd require a city->TZ mapping on our side.

The Geonames data we're using does have TZ information too though which we could use for converting times

#3 @dd32
5 years ago

  • Component changed from API to Events API
Note: See TracTickets for help on using tickets.