Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Setting timezone in coral datepicker

Avatar

Avatar
Validate 10
Level 2
priyag89962601
Level 2

Like

1 like

Total Posts

34 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile

Avatar
Validate 10
Level 2
priyag89962601
Level 2

Like

1 like

Total Posts

34 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile
priyag89962601
Level 2

10-07-2018

Hi,

I am using coral datepicker. But when i am authoring the date and time in datepicker, and picking it in current timezone in Java, it is changing the timezone to UTC and changing the date and time according to UTC time. Is there any way to set any default timezone in AEM ? OR to provide the dropdown for author to select which timezone he wants to use?

Thanks,

Priya

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,227 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,227 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

10-07-2018

Hi,

I don't thinks so we can change timezone other than UTC in date picker component .

but as you suggested you can use dropdown with date picker and convert date based on timezone dropdown.

You can also specify below with date picker.

valueFormat
displayTimezoneMessage

More info

DatePicker — Granite UI 1.0 documentation

How to configure AEM Datepicker to select UTC datetime instead of local datetime

Avatar

Avatar
Validate 1
Level 1
sharms13
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile

Avatar
Validate 1
Level 1
sharms13
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile
sharms13
Level 1

18-05-2021

Hi Priya,

 

We also have a similar requirement, can you suggest how you have resolved the same.