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

EventDate on related records #337

Open
MortenHofft opened this issue Jan 16, 2024 · 2 comments
Open

EventDate on related records #337

MortenHofft opened this issue Jan 16, 2024 · 2 comments

Comments

@MortenHofft
Copy link
Member

Now that we are changing the API to better reflect ranges, I guess that should be reflected in clustered records as well?
I mean this endpoint https://api.gbif.org/v1/occurrence/4506846570/experimental/related
I do not believe it is automatically processed the same?

@MattBlissett
Copy link
Member

https://api.gbif.org/v1/occurrence/1019610912/experimental/related

An event date of 1833 seems to have been interpreted as 1833ms after the Unix epoch. It's not using an ISO 8601 date either, there should be a T.

@bwakkie
Copy link

bwakkie commented Apr 4, 2024

@MattBlissett
Not sure what you are saying: eventDate "1833-01-01 00:00:00" so no unix time? (or maybe changed in the mean time?)

1883 cannot be converted to ISO 8601 date. So only year need to be filled.

Here you see the common error by adding 01 for month and day (sometimes you'll see 12-31)
Most of the time historically this is just a year but a date had to be entered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants