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
When decoding a YAML file, I have a date stored as as a timestamp.
The structure in Swift is a Foundation Date type.
How can I decode the timestamp in a date, and not get the error: Expected Date value but found Scalar(string: \"1591781962\", tag: , style: Yams.Node.Scalar.Style.plain, mark: Optional(7:12)) instead."?
Thanks.
The text was updated successfully, but these errors were encountered:
When decoding a YAML file, I have a date stored as as a timestamp.
The structure in Swift is a Foundation
Date
type.How can I decode the timestamp in a date, and not get the error:
Expected Date value but found Scalar(string: \"1591781962\", tag: , style: Yams.Node.Scalar.Style.plain, mark: Optional(7:12)) instead."
?Thanks.
The text was updated successfully, but these errors were encountered: