-
Notifications
You must be signed in to change notification settings - Fork 87
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 date-time option for easy testing conditional-turn-restriction #200
Conversation
Thanks, that'd be a nice addition which would make the app much more useful. A couple of comments:
|
I just want to clarify the behavior of Valhalla in this case, should "Anytime" (empty date_time) different with "Current" (date_time.type = 0)? |
Yes it will be different. If you say datetime.type = 0, then itβll use the current time, ie time will be respected (incl restrictions, but also traffic if itβs loaded). When you donβt want to respect time, then you donβt send the date_time object in the request at all. And I agree, the latter will be the vast majority of requests. |
Thanks, I'll try it out soon. I'd also like to have @chrstnbwnkl opinion, who's much closer to react code than myself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nvcnvn , just a couple of comments!
same as when switching direction profile
Finally I found some time to update the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for not getting back to this earlier... Looks like you forgot to check in the renamed datepicker component file?
ah you are right |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and again sorry for the long wait. LGTM!
π¨βπ» Changes proposed
π· Screenshots