Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
smunkelt opened this issue Jul 15, 2024 · 0 comments

Comments

@smunkelt
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants