How can we have dates/times show in browser timezone when a user is not logged in? For example, a user in Japan when viewing Calendar events, see's ET dates, even if the event was created in the Japanese timezone.
How can we have dates/times show in browser timezone when a user is not logged in? For example, a user in Japan when viewing Calendar events, see's ET dates, even if the event was created in the Japanese timezone.
As far as I am aware you may not be able to do this out of the box - you can set the global site configuration - which should apply to the database and all webservers - but seems as if it is one default time zone.
You could change the anonymous users time-zone but it is not recommended - and that will impact all users that fall in that anonymous role - so it would not be specific by a users location. This may be something you could maybe create with an additional widget/ automation?
Yeah, it seems to just default to the servers time zone. I was curious if there was a way to just let events show in their set time zone if no user is logged in.
Hi Stephen, its a tricky one and is not as far as we are aware supported ootb
If you used CloudFront for example you could try using that to expose the clients timezone (CloudFront-Viewer-Time-Zone) and customise the widgets to use that value but it would probably get quite messy with the need to setup a mapping table
The platform does have the anonymous extension for language which uses the request headers so it might be worth adding this as idea for a possible platform improvement
Yeah we ended up just showing the events in the event time zone if they are not logged in. That was even a bit of customization.