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
It'd be useful to add support for datetime objects. I'm not sure how we'd want to go about serializing these, there's a few different options:
datetime.datetime: Could use the Timestamp extension, or as a string according to e.g. ISO 8601.
datetime.timedelta/datetime.time/datetime.date: Custom extension format? Or as a string per ISO 8601?
We likely need to support the extension type for timestamps, the string format may(?) be useful as well, and may provide nicer parity with other types if we decide to implement those as string formats.
Activity
dhagrow commentedon Feb 25, 2021
Hi, just came across this library and I plan on giving it a try. You might consider temporenc for datetime objects.
Fix `Meta(pattern=..)` memory leak / corruption (msgspec#1256)