Convert Event Dates and Times to User's Timezone
I'm creating a custom component to show specific events I'm pulling via an API call in FreeMarker. One issue I'm running into is the event data pulled from the LiQL call is pulling in the occasion_data.start_time and end_time in the timezone where the event was created. I'd like my component to display event data in the timezone of the user viewing it, so if the event was created in the US/Eastern timezone but someone in US/Pacific is viewing the event, it should convert the date/time to that timezone (e.g., the event start time is 11:00AM EST, so the API call pulls in 11:00AM EST, but I want the component to show 8:00AM PST for users in US/Pacific). I've scoured the dev guides and don't see an easy way to convert dates/times to the user's selected timezone. I assume it should be possible because it works that way in the native Event pages. Is there a utility or built-in somewhere that I'm missing or is this another thing that's only available to Khoros and professional services?