diff options
author | David Krause <enthus1ast@users.noreply.github.com> | 2019-11-14 20:41:04 +0100 |
---|---|---|
committer | narimiran <narimiran@disroot.org> | 2019-11-15 08:06:26 +0100 |
commit | ffca3eefb515425bbc415d4a4ddf907094411a00 (patch) | |
tree | f7aca0a87574856818c59890214816e119a8bfb0 /lib/pure | |
parent | a14abc57088ec775284e1bab5815e0229ab582a3 (diff) | |
download | Nim-ffca3eefb515425bbc415d4a4ddf907094411a00.tar.gz |
fix documentation of `$`*(dt: DateTime) (#12660)
(cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa)
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/times.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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" |