Skip to main content
Level 2
Mar 22, 2017 2:20 AM UTC
Solved

AEM Timezone issue

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MC_Stuff
MC_StuffAccepted solution
Level 10
Mar 24, 2017 8:05 PM UTC

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,

4 replies

sandeepm744005
Level 5
Mar 22, 2017 5:28 AM UTC

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

Translate
kautuk_sahni
Level 9
Mar 22, 2017 8:22 AM UTC

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

Translate
Kautuk Sahni
MC_Stuff
MC_StuffAccepted solution
Level 10
Mar 24, 2017 8:05 PM UTC

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,

Translate
kautuk_sahni
Level 9
Mar 27, 2017 4:40 AM UTC

Thanks a lot MC Stuff for your input here.

~kautuk

Translate
Kautuk Sahni