diff options
author | Milan <me@petabyteboy.de> | 2020-01-22 18:22:14 +0100 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2020-01-22 18:22:14 +0100 |
commit | 3e843ab335817cd4a111b56574575c2c841b40ed (patch) | |
tree | 444d25e848d63e0c41abbfbe40b576362a8a76f2 | |
parent | fbd7fe118cf7fb0ad0344993bb92463d0d56eb33 (diff) | |
download | Nim-3e843ab335817cd4a111b56574575c2c841b40ed.tar.gz |
[backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip]
-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 a5846fabb..4a33197e2 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -1327,7 +1327,7 @@ proc getDateStr*(dt = now()): string {.rtl, extern: "nt$1", tags: [TimeEffect].} '-' & intToStr(dt.monthday, 2) proc getClockStr*(dt = now()): string {.rtl, extern: "nt$1", tags: [TimeEffect].} = - ## Gets the current local clock time as a string of the format ``HH:MM:SS``. + ## Gets the current local clock time as a string of the format ``HH:mm:ss``. runnableExamples: echo getClockStr(now() - 1.hours) result = intToStr(dt.hour, 2) & ':' & intToStr(dt.minute, 2) & |