Posted: July 21, 2020 at 7:09 pm
|
Hi |
Hi there,
Not currently no, there’s no way to know a users timezone without trying to pull it client-side and even then it’s not reliable enough for us to include within EE itself.
With the iCals we have to set the datetime using UTC format, the DTSTAMP field simply does not accept any other format which means it is up to the calendar app itself to display the date/time using the timezone set within the app. There are a couple of ways to work around this, one option is to add your sites timezone to your time format in Dashboard -> Settings -> General. First, make sure the Timezone option is set to a city in the same timezone as you (not set to a UTC time offset). Then, under Time Format, select Custom and add a capital
Then you’ll click “Save Changes”. Or, another option is to use a snippet to add some text with the timeone to the list of data displayed by Event Espresso, for example: https://gist.github.com/Pebblo/fae7eb5a8869bb11b703ad72c3eb2e1f |
|
September 23, 2020 at 11:43 am I used your other option on this page – https://gist.github.com/Pebblo/fae7eb5a8869bb11b703ad72c3eb2e1f Similar question I have as this worked for the event page. How do you add it to the “Your Event Registration Details” email confirmation? |
|
September 23, 2020 at 11:57 am It dpenes on the specifics of where you want to add it in the email, but you’ll need to edit the message template and include it there. Event Espresso -> Messages -> Defautl Message Templates -> Registration Approved -> Edit Registrant. In the DATETIME_LIST section you can hardcode the Timeone. |
|
September 23, 2020 at 12:39 pm Thank you. |
|
The support post ‘Time Zones for online events’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.