You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on mapstore 2023.02.01 with docker, they're getting some problems with values of datetime fields
It seems it's ignoring the local TimeZone using instead UTC, as you can see at the following screenshot:
That map is based on a context where they have set date format on Attribute Table component as:
and on docker container they have environment variable set as "TZ=Europe/Madrid"
They have checked that date on container is correctly displayed in local time.
I identified where the issues relies for rendering part
even if we set a format without the Z from UTC it still gets applied here
I guess that we can work on this function to ignore utc via a new config or if dateFormats is defined in FeatureEditor plugin and it does not contain utc Z value we simply avoid using utc conversion here
Description
on mapstore 2023.02.01 with docker, they're getting some problems with values of datetime fields
It seems it's ignoring the local TimeZone using instead UTC, as you can see at the following screenshot:
That map is based on a context where they have set date format on Attribute Table component as:
and on docker container they have environment variable set as "TZ=Europe/Madrid"
They have checked that date on container is correctly displayed in local time.
How to reproduce
Expected Result
Current Result
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
I identified where the issues relies for rendering part
even if we set a format without the Z from UTC it still gets applied here
I guess that we can work on this function to ignore utc via a new config or if dateFormats is defined in FeatureEditor plugin and it does not contain utc Z value we simply avoid using utc conversion here
MapStore2/web/client/components/data/featuregrid/formatters/index.js
Line 29 in d1ebec1
Then we have to handle this in DateTimeEditor and DateTimeFilterRenderer and DateTimePicker
The text was updated successfully, but these errors were encountered: