Surreal-Net / Surreal.Net

Database driver for SurrealDB available for REST and RPC sessions.
Apache License 2.0
57 stars 7 forks source link

Bug: TimeSpans are not inserted into the database correctly #53

Closed Du-z closed 2 years ago

Du-z commented 2 years ago

Conversion tests fail in #52

They should be stored in the DB using the 1h30m20s1350ms format outlined at the bottom of this document. https://surrealdb.com/docs/surrealql/datamodel/datetimes

using this format will allow for math to be run on DateTimes on the DB

ProphetLamb commented 2 years ago

Solved with #52