Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Date encoding in msgpack #6248

Open
tzador opened this issue Dec 10, 2024 · 2 comments
Open

Support Date encoding in msgpack #6248

tzador opened this issue Dec 10, 2024 · 2 comments

Comments

@tzador
Copy link

tzador commented Dec 10, 2024

Dates are ubiquitous, would be great to be able to transfer them.

Currently dates are not supported, an error gets thrown.

Dates would get encoded/decoded just like the rest of supported datatypes.

For example:
https://www.npmjs.com/package/@msgpack/msgpack
supports encoding of dates.

@BlackAsLight
Copy link
Contributor

If you specifically mean for msgpack, you should add it to the title for clarity.

On another note, dates are supported in @std/cbor, but I don't know if that's useful in your instance.

@tzador tzador changed the title Support Date encoding Support Date encoding in msgpack Dec 11, 2024
@tzador
Copy link
Author

tzador commented Dec 11, 2024

Thanks for noticing, updated the title.
Nice, taking a look at @std/cbor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants