@std/cbor: Temporal support
- Dominant language
- TypeScript
- Stars
- 3.6k
- Forks
- 681
- PR merge metrics
- No merged PRs in 30d
Description
Since Deno now supports Temporal, it seems appropriate to add support for `Temporal.Instant` in @std/cbor. However, since it is still at Stage 4 and there are runtimes where it has not been implemented yet, the code needs to take that into account.
Additionally, since tags were expanded in [RFC 8943](https://www.rfc-editor.org/rfc/rfc8943.html) (Tags for Date) and [RFC 9581](https://www.rfc-editor.org/rfc/rfc9581.html) (Tags for Time, Duration, and Period), it might be good to add support for `Temporal.PlainDate`, `Temporal.ZonedDateTime`, `Temporal.PlainDateTime`, and `Temporal.Duration`.
For reference, here is a comment regarding native CBOR support on ES Discourse:
https://es.discourse.group/t/native-cbor-support/1492/11
Contributor guide
Assessment
This issue has not been assessed yet.