JuditKaramazov / TakeYouThere

🚀🌿 karamaSystem v3 - An interactive map enabling us to pin and share pictures of places we've visited together.
https://takeyouthere.vercel.app
MIT License
16 stars 5 forks source link

Bug: Distance/date not working properly #20

Closed JuditKaramazov closed 4 days ago

JuditKaramazov commented 6 days ago

Describe the bug

Due to a recently added Barcelona pin, distance/date calculations are not as precise as they should - not even as they were. Considering this, we will:

Steps to reproduce

  1. Go to the menu.
  2. Sort the pins by date or distance. A “Barcelona” one will usually appear first - and it shouldn’t, as the calculation is not correct.
  3. Close the menu.
  4. Go to the menu again.
  5. Sometimes, the order is correct, but sorting the pins may trigger this error again.

Do you have any screenshots?

Affected pin

Code of Conduct

Contributing Docs