-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hello folks,
Thanks for a very useful addon, I'm just configuring it now.
I have one issue to figure out before I go live... and I'm sorry to report that it's (of course) related to timezones !
In my blueprint I have imported your events:event fieldset, including the timezone field.
My server time is set to UTC.
On my test event though, I'm setting the timezone to Europe/London, which is currently on BST (+1 hour from UTC).
I set the start time of the event to 10:00.
If I then display the Start Time in the view with the timezone: {{ start_time | format:'H:i T' }} it displays "10:00 UTC"
So the time field itself isn't reflecting the timezone, and is just (probably) using the server timezone.
If I print out the timezone field to the view, via the {{ timezone | raw }} variable, it shows as "Europe/London"
After a tip from Ryan in Discord I looked at the Statamic Timezone Modifier, but that would actually change the time displayed too, so it would display as "11:00 BST"
I wonder if this issue I'm having could be related to #121 - or am I simply doing something wrong, or misunderstanding the whole thing?
Thanks for any help
Steve