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

The vocabularies UI uses wrong timezone #152

Open
marcos-lg opened this issue Jun 11, 2024 · 2 comments
Open

The vocabularies UI uses wrong timezone #152

marcos-lg opened this issue Jun 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@marcos-lg
Copy link
Contributor

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

@marcos-lg marcos-lg added the bug Something isn't working label Jun 11, 2024
@MortenHofft
Copy link
Member

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
Copy link
Member

MortenHofft commented Jun 12, 2024

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?

@marcos-lg marcos-lg transferred this issue from gbif/registry-console Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants