Timezones: Updating event timezone in bulk
-
Hi,
I’m currently faced with a problem. I need to update the timezone of all my 300 events (I recently activated the event calendar’s “Timezone Mode”). Is there a way to do this automatically or in bulk?
I was thinking that since each event has an address (city, state, country), wouldn’t it be possible to automatically update the timezone information based on the city, country or state? I understand that since some countries are set on multiple timezones, this wouldn’t be possible to update a timezone only based on the country information (ex: China, Russia, US, Canada, Australia, Brazil, etc).
But for events taking place in “smaller countries” like Germany, Italy, France, Japan, etc, (countries with only one timezone), wouldn’t it be possible to automatically link country names (ex: Germany) to a specific timezone (ex: Berlin)? In this case, all events with an address in Germany, would be associated to the timezone “Europe/Berlin” (even if the event is taking place in Munich or Frankfort, which are on the same timezone as Berlin).
In this situation, exceptions would be listed as “please, update timezone manually for the following countries” (ex: China, Russia, US, Canada, Australia, Brazil, etc), while other countries set only on one timezone could be automatically set to the timezone of their capital city (ex: Europe/Rome, Europe/London, Europe/Paris, etc).
I understand this could require some significant coding, but it would greatly simplify our lives ??
In the meantime, would it be possible to update timezones directly from the database? I have many events set to take place in Japan, and it would be quite time-consuming to update them one by one, when I could copy/paste the same value for all tables.
Last but not least: how do I hide the recurring occurrences of an event in /wp-admin/edit.php?post_type=tribe_events ? I’m editing events from this page, and I would like to see only the single occurrence of each event (Since I need to edit each event only once, I don’t need to see all 35 occurrences of the same event in this list). As of now, I need to remember which event I already edited, so I don’t edit the same event twice (which is impossible to remember, of course).
Thanks for your guidance!
Nick
- The topic ‘Timezones: Updating event timezone in bulk’ is closed to new replies.