Dates displayed in the "Data Set" fragment is always displayed in GMT

Steps to Reproduce

  1. Go to Control Panel > Feature Flags and enable LPD-34594 and LPS-164563 feature flag

  2. Go to Control Panel > Object: Objects and add a object

  3. Edit the object and add a field(e.g. “Date” field)

  4. Go to Control Panel > Object: Data Sets

  5. Add a data set using the object added in step2

  6. Go to “Visualization Modes: Table” tab and check “dateCreated“ and “dateModified“ and save

  7. Add the object to any page

  8. Add Data Set fragment and set the object added in step2 to “Data Set View”

  9. Add a object item

Actual result

The date displayed in the “Data Set” fragment is displayed in GMT.

Request

The time is displayed offset according to the user’s “Display Settings”.

Hello @Taro_Shimada,

I performed the reported steps on my local machine and observed the same behavior: the ‘date field’ does not take into account the user’s time zone preference.

Upon further review, I found that this feature is planned to be implemented. For additional details and reference, you may refer to this ticket: https://liferay.atlassian.net/browse/LPD-67611