terraref / brapi

Breeder's API implementation for TERRA-REF
https://terraref.org/brapi/v1/calls
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

update events to new date format with discreteDates #55

Closed dlebauer closed 2 years ago

dlebauer commented 2 years ago

Haven't tried this, but think this should work with the new spec which should look like:

"date": {
    "discreteDates": ["2018-10-08T18:15:11Z"]
            },
KristinaRiemer commented 2 years ago

Tested the formatting and updated it to look like the below: Screen Shot 2022-04-29 at 11 02 12 AM

Are the square brackets around the date important? I think we only have one date per event.

dlebauer commented 2 years ago

Thanks!