这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jenniferburch
Copy link
Contributor

There's a difference between how iOS and Android fetchEvents. Given start and end dates, iOS will gets the intersection of events for those dates whereas Android is getting a subset.

For example:
Start and end dates are 2020-11-25T08:00:00.000Z and 2020-11-25T09:00:00.000Z
The event we are expecting goes from 2020-11-25T08:30:00.000Z and 2020-11-25T09:30:00.000Z

The iOS version will return this event but the Android version won't.

So change the date filter to look for events that start before our end date and end after our start date

@MoOx
Copy link
Collaborator

MoOx commented Nov 30, 2020

Seems to be promising!
I will have a look to iOS code & will ship this as a fix if that's similar indeed!

@wmcmahan
Copy link
Owner

Great catch! I'm surprised this has not been more of an issue. 👍

@wmcmahan wmcmahan merged commit 86a9a28 into wmcmahan:master Dec 28, 2020
@MoOx
Copy link
Collaborator

MoOx commented Jan 8, 2021

Available in 2.2.0, thanks again!

@jenniferburch
Copy link
Contributor Author

Awesome! thanks for the heads up on release

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants