Decoding timestamp as date
mbarnach opened this issue · comments
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.