zeno4ever / map-all-spaces

Map with all hackerspaces, fablabs and makerspaces
GNU General Public License v3.0
15 stars 8 forks source link

Wrong timezone on heatmap #25

Closed gueldenstone closed 4 months ago

gueldenstone commented 4 months ago

Hi we just added dynamic state functionality to our spaceapi record. Now The heatmap shows our timezone as Yemen: https://mapall.space/heatmap/show.php?id=xHain.

We publish our status at https://x-hain.de/spaceapi/14/status and even provide an explicit timezone. I do not see what we are doing wrong. It seems like the order of longitude and latitude is different with our response than c-bases for example (http://www.c-base.org/status.json).

Sorry if I've overseen something. Would be great to sort this out!

zeno4ever commented 4 months ago

The timezone/offset is only checked the first time when a new space is added. Somehow something went wrong there and got the wrong country (lon/lat was wrong??). For now I manualy changed the database to German timezone.

If the timezones still don't make sense I have to check more in the code what exactly happened.

gueldenstone commented 4 months ago

Thanks!