Skip to content

The Attribute Table is currently working in UTC by default, to customize this behavior #10754

@MV88

Description

@MV88

Description

The Attribute Table is currently working in UTC by default, therefore all date types values in MapStore are converted there in that time zone. The reason of this is that GML specifications expects temporal values expressed in UTC.
The current logic leads to scenarios were the time sent by the server is not the one MS displays in the Attribute Table (e.g. if server side date-time values are represented on a different time zone).

image

For this reason, MS should be enhanced to prevent this conversion and represent data in the expected time zone to final users.

How to reproduce

  • Use the above map to see how date-time attributes are displayed considering the time zone on the server side is TZ=Europe/Madrid

Expected Result

Date/Time attributes should be displayed in the same time zone of the server. The client should not make any conversion and is should display date/time values as they are sent by the server.

Current Result

The Attribute Table is currently working in UTC by default and date/time values are converted on that time zone.

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions