LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

*Datatable* - Lightning Web Component - Display datetime field identical to list views

Open smunkelt opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. When working with datetime fields in both standard list views and the datatable component we see different times being displayed if browser and Salesforce user timezone setting does not match. In a globally operating company users that are based in e.g. Europe (GMT+2) might be planning work orders for their colleagues in the Philippines (GMT+8) (1) The timezone for their user is set to GMT+8. Their browser setting is GMT+2. (2) In the standard list view the datetime will show correctly using the timezone specific offset. (3) The standard datatable in a flow will show the same value as in the list view. (4) The datatable lwc component shows the time with the offset from the browsers timezone.

It is quite confusing for users if they see two different datetime values for the same record.

image

Describe the solution you'd like Show the same datetime value in the datatable lwc component as in standard list views by using the user timezone setting instead of the browser timezone.

smunkelt avatar Jul 15 '24 20:07 smunkelt