gbif / portal16

GBIF.org website
https://www.gbif.org
Apache License 2.0
24 stars 15 forks source link

Display of event dates, granularity and ranges #1877

Closed MortenHofft closed 8 months ago

MortenHofft commented 1 year ago

in cases where event date is only a year, we should only show year precision instead of 1 january. And in cases of ranges, we should show that.

In the API layer we will soon populate year, month, day to be consistent with eventDate.

Ranges will always be formatted as a date-slash-date.

MortenHofft commented 1 year ago

example records https://www.gbif-dev.org/occurrence/76522 https://www.gbif-dev.org/occurrence/76524 https://www.gbif-dev.org/occurrence/76523

MattBlissett commented 1 year ago

And a convenient search for the three: https://www.gbif-dev.org/occurrence/search?dataset_key=06a00852-f764-4fb8-80d4-ca51f0918459&event_date=2018&taxon_key=7429082&year=2018&advanced=1

MattBlissett commented 1 year ago

This is now on UAT, and there's a dataset full of examples: https://www.gbif-uat.org/occurrence/search?dataset_key=d6167827-973d-429a-a00c-8ea294d62d80

It would be useful to have this ready very soon, so the website looks good before announcing the change on the mailing list etc.

MortenHofft commented 1 year ago

branch feat-1877-event-range