Skip to content
Snippets Groups Projects
Commit 768f5016 authored by Timur Safin's avatar Timur Safin Committed by Kirill Yukhin
Browse files

box, datetime: messagepack support for datetime

Serialize `struct datetime` as newly introduced MP_EXT type.
It saves 1 required integer field and 3 optional fields:
- epoch is required field;
- but nsec, tzoffset and tzindex are optional;

* supported json, yaml serialization formats, lua output mode;

Please refer to the
https://hackmd.io/@Mons/S1Vfc_axK#%D0%A3%D0%BF%D0%B0%D0%BA%D0%BE%D0%B2%D0%BA%D0%B0-%D0%B2-msgpack
for a description of a messagepack serialization schema for datetime
values.

Follow-up to #5941
Part of #5946
parent b0463da8
Loading
Showing
with 384 additions and 13 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment