diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2019-12-03 00:12:08 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-12-03 09:12:08 +0100 |
commit | 9e1fd9e46b5d85254dad4552f8581d042e476da0 (patch) | |
tree | edc80b50a2201ab44fcd9564d070efec753c3191 /lib/pure | |
parent | 378289c6a8600dda2a5bd44cbd5544ce1172cf25 (diff) | |
download | Nim-9e1fd9e46b5d85254dad4552f8581d042e476da0.tar.gz |
[minor] fix doc for $(Time) (#12795) [backport]
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 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() |