Viva-con-Agua / pool-backend

User service for handling user and crew relations
0 stars 0 forks source link

Event.location.cities: Map Germany to Deutschland #176

Open ebroda opened 3 months ago

ebroda commented 3 months ago

Currently the pool has two options for countries: Deutschland (106) and Germany (5 events).

first thought is that maybe people are using english browsers so the google Api provides the country in english. To ensure that all events of the same country, are the same country (Deutschland), maybe an if condition could be added on the creation of the event:

if ev.location.city == 'Germany': 
    ev.location.city = 'Deutschland'

Then the problem above fixes (mostly) itself at 16.05.2024 ;-)