You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following spec, when loaded, will result in an example value of "2019-09-12T00:00:00Z". This is because the literal 2019-09-12 is parsed as a time.Time by the go-yaml package with 0 values for the hours, minutes etc and this is then formatted
as the full value when marshaled back to json using. the invopop/yaml package. The fix is somewhat ugly and shown below, I'll put together a PR shortly for it, but am open to better solutions.
The following spec, when loaded, will result in an example value of "2019-09-12T00:00:00Z". This is because the literal 2019-09-12 is parsed as a time.Time by the go-yaml package with 0 values for the hours, minutes etc and this is then formatted
as the full value when marshaled back to json using. the invopop/yaml package. The fix is somewhat ugly and shown below, I'll put together a PR shortly for it, but am open to better solutions.
A possible fix is the following change:
The text was updated successfully, but these errors were encountered: