Expand my Community achievements bar.

SOLVED

AEM Timezone issue

Avatar

Level 2

Hi All,

The Linux box gives EST as time zone but the user inbox on AEM WCM UI shows PDT as time zone. Could you throw some light on what I am missing here.

we didn't set -Duser.timezone, Please let me know if it is any OSGi configuration.

 

Thanks,

Chamu.

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Chamu,

  For server side you can use -Duser.timezone AFAIK touch ui is server side & should pick that.    For classic ui which uses extjs will always take the user system configured time zone. If your requirement is for classic ui & need server side time zone then have to implement validation. 

Thanks,

View solution in original post

4 Replies

Avatar

Level 5

This needs to be set in the AEM start up script.

Avatar

Administrator

To force the server to use the required timezone in startup file: 

Use :-    -Duser.timezone=US/Central or -Duser.timezone=America/Los_Angeles etc.

Pleas have a look at this forum thread :- https://forums.adobe.com/thread/1061940

I hope this would help you.

~kautuk



Kautuk Sahni

Avatar

Correct answer by
Level 9

Hi Chamu,

  For server side you can use -Duser.timezone AFAIK touch ui is server side & should pick that.    For classic ui which uses extjs will always take the user system configured time zone. If your requirement is for classic ui & need server side time zone then have to implement validation. 

Thanks,

Avatar

Administrator

Thanks a lot MC Stuff for your input here.

~kautuk



Kautuk Sahni