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
} else if tag == yaml_TIMESTAMP_TAG {
// It looks like a timestamp but for backward compatibility
// reasons we set it as a string, so that code that unmarshals
// timestamp-like values into interface{} will continue to
// see a string and not a time.Time.
// TODO(v3) Drop this.
out.Set(reflect.ValueOf(n.value))
Is there a chance of exposing timestamp decoding in the v2 branch? Perhaps via a boolean on Decoder (similar to strict mode)?
From decode.go:
Is there a chance of exposing timestamp decoding in the v2 branch? Perhaps via a boolean on Decoder (similar to strict mode)?
Or when does v3 come out? 😉
Ref: gohugoio/hugo#3983
The text was updated successfully, but these errors were encountered: