PASTAplus / cite

A data citation generator for PASTA data packages
Apache License 2.0
2 stars 0 forks source link

Using access param with BIBTEX fails to return access date #6

Closed servilla closed 4 years ago

servilla commented 4 years ago

When using the access parameter along with the BIBTEX style fails to return the access date stamp.

curl -H "Accept: text/plain" -s -X GET "https://cite.edirepository.org/cite/edi.460.1?style=BIBTEX&access"

should return:

@misc{edi.460.1,
    author={Anna R Armitage and Carolyn A Weaver and John S Kominoski and Steven C Pennings},
    title={{Hurricane Harvey: Coastal wetland plant responses and recovery in Texas: 2014-2019. ver 1}},
    year={2020},
    howpublished={{Environmental Data Initiative}},
    note={Online: https://doi.org/10.6073/pasta/e288ccaf55afceecc29bdf0a341248d6 (2020-11-09)}
}

but returns:

@misc{edi.460.1,
    author={Anna R Armitage and Carolyn A Weaver and John S Kominoski and Steven C Pennings},
    title={{Hurricane Harvey: Coastal wetland plant responses and recovery in Texas: 2014-2019. ver 1}},
    year={2020},
    howpublished={{Environmental Data Initiative}},
    note={Online: https://doi.org/10.6073/pasta/e288ccaf55afceecc29bdf0a341248d6}
}
servilla commented 4 years ago

Fixed per de4e29719d4367105f30095221933bfb09e75635.