Setting timezone in coral datepicker | Community
Skip to main content
Level 3
Jul 10, 2018 9:35 AM UTC

Setting timezone in coral datepicker

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Level 2
May 18, 2021 5:02 PM UTC

Hi Priya,

 

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

Translate
arunpatidar
New Participant
Jul 10, 2018 10:27 AM UTC

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

Translate
Arun Patidar