diff --git a/lib/src/sql/datetime.rs b/lib/src/sql/datetime.rs index 535c14ab..91eb11d6 100644 --- a/lib/src/sql/datetime.rs +++ b/lib/src/sql/datetime.rs @@ -53,7 +53,7 @@ impl Deref for Datetime { impl Datetime { pub fn to_raw(&self) -> String { - self.0.to_string() + self.0.to_rfc3339_opts(SecondsFormat::AutoSi, true) } }