maxpert / marmot

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

Fixing datetime replication #77

Closed maxpert closed 10 months ago

maxpert commented 10 months 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