-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
time zones :) #499
Comments
It's great to hear you are promoting the feature 👍 When I built the feature I honestly didn't take into account international usage. I quickly had to check how the backend is returning the Bit since I know its will always be in Berlin timezone I think it should be fairly easy to convert it. I would imagine basing it on the coordinates is tricky |
Thx :) and fair enough - I guessed that time zones are not supported in criticalmass.in ;) I also encountered a problem when creating the city of Lisbon. So at the moment it is listed in the region "Niedersachsen" :D But I don't think it matters too much. Regarding the time zones: Seems to be free up to 3.000 requests per day: Anyhow, thx for giving it a try :) |
😄 |
Complicated :D No I don't think it's right yet :D So on criticalmass.in I set the time to lets say 8pm. So in the app, it actually doen't need to change it should also display 8pm (not 7pm) 🤔 The only thing I realized is, that the event wasn't visible anymore up from like 1 hour before it started. I guess because of the one hour difference the app assumed that the event was already in the past... |
So wouldn't the simplest solution be to set the event to german time like 21 Uhr which would be the correct starting point in local lisbon time, right? Since 20 uhr lisbon time is 21 uhr german time. I need to wrap my head around the api I guess to check if they really send a utc timestamp. Will take a look next week |
I updated the PR. Think it needs to be fixed to german timezone to make it work. But I see others adding international events taking the timezone difference into account. Not sure yet about what's best |
Fyi. I merge the pr with fixed Germany Timezone since I think it's not obvious on the criticalmass.in website that times are implicitly in german timezone. Will roll it out next month 🤞 |
Sorry for the late response I was quite busy... I am not quite sure if I got it correctly but I guess you will make it work ;) For me, the ideal situation would be to enter the event on criticalmass.in in the local time zone. So critical maps should display the upcoming event, correct since it just takes the date from the website. (I guess this is the state it used to be before I open this issue) Example:
|
Thanks. I need to check if the logic to display an event needs some adjusting as well |
We released 4.5.0 in which we use an extended criticalmass.in API. I've seen the timezone for lisbon is actually Berlin so that even with this fix it will probably not work. Maybe that is something you can check in criticalmass.in to try to change it in there and then I'd appreciate feedback if this is solved. |
Oye Oye,
I'm trying to promote the critical maps app in Lisbon along the riders. Therefore I added the tours on criticalmass.in.
Unfortunately Lisbon has the time zone GMT and not like most of the rest of europe GMT+1. So the tours are always shown 1 hour to early.
Could it be a quick fix to check, based on the coordinates of the event in which time zone it is to adjust the time slot the event is shown on the map?
All the best,
Alex
The text was updated successfully, but these errors were encountered: