From 860cf6966006462b4b8184c83016e2eacbfeed3c Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 11 May 2019 13:05:15 +0200 Subject: [PATCH] [ci skip] Fix rustdoc "impl ToSql for NaiveDateTime" documentation is slightly inconsistent with behavior #519 --- src/types/chrono.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/chrono.rs b/src/types/chrono.rs index 4f73146..035f141 100644 --- a/src/types/chrono.rs +++ b/src/types/chrono.rs @@ -54,7 +54,7 @@ impl FromSql for NaiveTime { } /// ISO 8601 combined date and time without timezone => -/// "YYYY-MM-DD HH:MM:SS.SSS" +/// "YYYY-MM-DDTHH:MM:SS.SSS" impl ToSql for NaiveDateTime { fn to_sql(&self) -> Result> { let date_str = self.format("%Y-%m-%dT%H:%M:%S%.f").to_string();