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

Add timeZone parameter to hsl and parkapi vehicle parking updaters #4427

Merged

Conversation

optionsome
Copy link
Member

@optionsome optionsome commented Sep 1, 2022

Summary

Adds timeZone parameter to HSL and parkapi updaters to determine the time zone for the opening hours.

Issue

fixes #4428

Unit tests

Updated tests.

Documentation

Updated sandbox documentation.

Changelog

Added for sandbox

hannesj
hannesj previously approved these changes Sep 2, 2022
@hannesj hannesj requested review from vpaturet and leonardehrenfried and removed request for vpaturet September 2, 2022 06:43
Copy link
Member

@leonardehrenfried leonardehrenfried left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens though if you don't set it?

@optionsome
Copy link
Member Author

It's the same as for OSM parks. Null opening hours will be created. Is that ok?

@optionsome
Copy link
Member Author

Actually now that I think about it, what I said is probably not true for HSL park. I think I'll add one more commit to fix it.

@leonardehrenfried
Copy link
Member

It's the same as for OSM parks. Null opening hours will be created. Is that ok?

Yes, that's fine.

@optionsome optionsome merged commit 567e848 into opentripplanner:dev-2.x Sep 6, 2022
@optionsome optionsome deleted the parking-updater-timezone branch September 6, 2022 08:20
@t2gran t2gran added this to the 2.2 milestone Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to set timezone per ParkAPIUpdater
4 participants