Closed rgmz closed 2 years ago
@rgmz Completely agree with you on this issue. Thanks for pointing this out.
There is a standard SPDX time/date format: yyyy-MM-dd'T'HH:mm:ss'Z'
which should be used - looks like the same as you are recommending.
I don't think it would break anything to switch formats over to the standard - I'll create a PR.
Resolved with PR #125
The current CrossRef timestamp format is
yyyy-MM-dd - HH:mm:ss
, which requires a custom formatter to parse and has an ambiguous timezone (I sought out this repository to double-check whether it was UTC):While this — admittedly — is a very minor issue, it would be nice for the license-list-data to use ISO-8601 timestamps, which are unambiguous and simple to parse (e.g.
ZonedDateTime.parse("2021-10-28T17:35:32Z")
).