maxpert / marmot

A distributed SQLite replicator built on top of NATS
https://maxpert.github.io/marmot/
MIT License
1.86k stars 42 forks source link

Fixing datetime replication #77

Closed maxpert closed 1 year ago

maxpert commented 1 year ago

Turns out CBOR by default serializes date time into unix timestamp and drops the serialization information about it. This PR adds new struct and enforces tag to be serialized and deserialized along with the values.

This will fix issue #76