-
Notifications
You must be signed in to change notification settings - Fork 594
Open
Labels
Description
To a serde format, the chrono types are indistinguishable from string types. This works for JSON, because it doesn't have a proper date type, but for TOML and other formats with builtin date types it means strings can get deserialized into dates when actual dates can't. I'm not very familiar with serde, but it doesn't look possible for these formats to work around the fact that dates look indistinguishable from strings, other than also making their date types indistinguishable from strings, which feels wrong.