Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceAlert/Situation TimeWindows are decoded as seconds instead of milliseconds. #687

Open
ualch9 opened this issue Nov 1, 2023 · 0 comments

Comments

@ualch9
Copy link
Member

ualch9 commented Nov 1, 2023

Screenshot 2023-11-01 at 12 05 41 PM

However, one of the test case fixtures has seconds instead of milliseconds, only for the TimeWindow:

https://github.com/OneBusAway/onebusaway-ios/blob/main/OBAKitTests/Modeling/Model%20Unit%20Tests/ReferencesTests.swift#L80-L82

https://github.com/OneBusAway/onebusaway-ios/blob/main/OBAKitTests/fixtures/arrival-and-departure-for-stop-MTS_11589.json#L122-L127

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

No branches or pull requests

1 participant