GIScience / ors-map-client

Openrouteservice API web SPA client using VueJS, Vuetify and Vue2Leaflet
http://maps.openrouteservice.org
Apache License 2.0
105 stars 31 forks source link

Set departure hour based on current hour of user's browser #402

Closed redfrexx closed 8 months ago

redfrexx commented 9 months ago

Currently, the departure hour is by default 'noon'. Is it possible to set this automatically based on the current time stored in the users's browser?

Time intervals: Morning: 00:00 - 11:30 Noon: 11:31 - 14:30 Afternoon: 14:31 - 17:30 Evening: 17:31 - 00:00