gbif / registry-console

Apache License 2.0
5 stars 2 forks source link

The vocabularies UI uses wrong timezone #572

Open marcos-lg opened 1 month ago

marcos-lg commented 1 month ago

The created and modified values returned by the API are in UTC time but the UI shows them as CPH time.

MortenHofft commented 1 month ago

It is the same logic for datasets, vocabularies etc. So either the API responses are not aligned or it is wrong everywhere.

Could you provide an example of what you expect to see and what actually you see?

MortenHofft commented 1 month ago

dataset date format "created": "2024-06-12T06:30:04.322+00:00", https://registry-api.gbif.org/dataset/7724b4da-df9b-4141-a8b9-4286982e0224

vocabulary date format "created": "2021-12-02T11:01:51.511113", https://api.gbif.org/v1/vocabularies/Pathway

@marcos-lg It looks like inconsistent formatting between APIs. Could we align that?