Join GitHub today
Date parsing does not conform to all valid RFC3339 forms #5340
I insert dates in my content files using a Vim shortcut, which formats them like this:
Note the omitted colon
However, Hugo is unable to parse these dates, and sets them all to 0000-00-00. Adding the colon in makes Hugo parse them as normal. I've done some reading on datetimes in Go and have found that they're awkward and weird. But I don't yet understand where or how Hugo parses dates -- I'd love to help solve this problem if someone could get me started.
(I understand that half my problem is input. Vim uses
referenced this issue
Oct 21, 2018
Upstream has been merged with new tests passing. Quick Hugo build using cast's master branch shows that it reads this new format just fine. Need to update cast version and then good to close :)
Troubleshooting dependencies & building was surprisingly easy for a first-time go getter! And thanks for this project, love how data-oriented Hugo is.