From ffca3eefb515425bbc415d4a4ddf907094411a00 Mon Sep 17 00:00:00 2001 From: David Krause Date: Thu, 14 Nov 2019 20:41:04 +0100 Subject: fix documentation of `$`*(dt: DateTime) (#12660) (cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa) --- lib/pure/times.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/pure/times.nim b/lib/pure/times.nim index 0a9e33703..9af39920d 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -2432,7 +2432,7 @@ proc parseTime*(input: string, f: static[string], zone: Timezone): Time proc `$`*(dt: DateTime): string {.tags: [], raises: [], benign.} = ## Converts a `DateTime` object to a string representation. - ## It uses the format ``yyyy-MM-dd'T'HH-mm-sszzz``. + ## It uses the format ``yyyy-MM-dd'T'HH:mm:sszzz``. runnableExamples: let dt = initDateTime(01, mJan, 2000, 12, 00, 00, utc()) doAssert $dt == "2000-01-01T12:00:00Z" -- cgit 1.4.1-2-gfad0