Closed juanazam closed 1 year ago
Ignore appveyor, I can't get it off our CI. Just need the rustfmt issue resolved
From what I saw, only commit messages were failing, that's what you meant? updated!
Saw the formatting issue, and fixed that as well!
Thanks!
Hi,
From this implementation, now the date format in case of reading require .[subsecond]
this make the reading of dates without that part fail, this functionality is used in cobalt for frontmatter parsing, so if you cargo update
cobalt you want be able to parse the old frontmatters that miss the subseconds, I think to fix this should be enough to add the double parsing of dates in case of deserialization, like there is optional serialization of subseconds.
Regards
Closes #493
To sum up, the problem describe on the issue is the following:
This format format doesn't include the subsecond component, so when a variable was being serialized, the subseconds were lost.
This PR introduces a new format for serialization and uses it for that purpose:
I also added it to the list of supported parsing date formats