thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Timezone setting is lost when duplicating an event #88

Open tordanik opened 2 years ago

tordanik commented 2 years ago

When I duplicate an event using the "Repeat event" button, the timezone setting is not carried over to the new event and I need to remember to set it again. I can reliably reproduce this by duplicating an event without a location, but with a timezone set to UTC, such as https://osmcal.org/event/1179/

thomersch commented 2 years ago

Thanks for reporting!

The bug only applies to events in UTC timezone, for all other time zones it works. I think this might be a result of the hacky display of timezone names. The timezone field is a crutch and I should replace it with something better.