Skip to content

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

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

Activity

  1. added this to the 2025.01.00 milestone on Jan 14, 2025
  2. self-assigned this
    on Jan 14, 2025
  3. added a commit that references this issue on Jan 16, 2025
    71f393a
  4. changed the title [-]Problem in FeatureEditor displaying wrong datetime on fields[/-] [+]The Attribute Table is currently working in UTC by default, we want to customize this behaviour[/+] on Jan 21, 2025
  5. added a commit that references this issue on Feb 12, 2025
    6b7dbe2
  6. added a commit that references this issue on Feb 20, 2025
    b808eea
  7. self-assigned this
    on Mar 10, 2025
  8. added a commit that references this issue on Apr 1, 2025
    66a6a0f
  9. changed the title [-]The Attribute Table is currently working in UTC by default, we want to customize this behaviour[/-] [+]The Attribute Table is currently working in UTC by default, to customize this behavior[/+] on Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions