From 9e1fd9e46b5d85254dad4552f8581d042e476da0 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Tue, 3 Dec 2019 00:12:08 -0800 Subject: [minor] fix doc for $(Time) (#12795) [backport] --- lib/pure/times.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/times.nim b/lib/pure/times.nim index 9af39920d..cbe0817b1 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -2440,7 +2440,7 @@ proc `$`*(dt: DateTime): string {.tags: [], raises: [], benign.} = proc `$`*(time: Time): string {.tags: [], raises: [], benign.} = ## Converts a `Time` value to a string representation. It will use the local - ## time zone and use the format ``yyyy-MM-dd'T'HH-mm-sszzz``. + ## time zone and use the format ``yyyy-MM-dd'T'HH:mm:sszzz``. runnableExamples: let dt = initDateTime(01, mJan, 1970, 00, 00, 00, local()) let tm = dt.toTime() -- cgit 1.4.1-2-gfad0