Forum Discussion
Akenefick
2 years agoGenius
Hi, I realize this post is a little old. I'm trying to do the same thing. I can get the users time zone with:
"/users/self/settings/name/config.timezone"
and I can set the time zone as above:
<#setting time_zone="America/New_York">.
However, the time zone returned by the first "US/Eastern" for example does not work for the freemarker time_zone setting. Do I have to go through every time zone and correct it. I could do something like this:
<#if timeZone == "US/Eastern">
<#assign timeZone = "America/New_York" />
<#elseif timeZone == "US/Central">
<#assign timeZone = "America/Chicago" />
so on ...
But seems awfully tedious. Is there a better way? Seems like Khoros might have some way to correct the time zone for the user but I can't find anything in the documentation.
Natkinson how did you end up managing time zone?
Thanks
Related Content
- 5 years ago
- 3 months ago
- 10 years ago