datacite / bolognese

Ruby gem and command-line utility for conversion of DOI metadata
MIT License
40 stars 14 forks source link

Fractional date bug 1361 #148

Open bklaing2 opened 1 year ago

bklaing2 commented 1 year ago

Purpose

Fixed issue where dates with fractional times wouldn't be returned from API

closes: https://github.com/datacite/datacite/issues/1361

Approach

Added Time.iso8601 to handle fractional times

Open Questions and Pre-Merge TODOs

Learning

Researched different ways to handle parsing dates with fractional times according to the schema. Found a class which looked promising, but ended up not being supported for the version ruby we're using. After a bit more research I settled on using the Time.iso8601 method.

Types of changes

Reviewer, please remember our guidelines: