Ensure SQL datetimes are formatted correctly as strings
This commit is contained in:
parent
d2761c6bf6
commit
eca8cd8d1d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue