summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMilan <me@petabyteboy.de>2020-01-22 18:22:14 +0100
committerMiran <narimiran@disroot.org>2020-01-22 18:22:14 +0100
commit3e843ab335817cd4a111b56574575c2c841b40ed (patch)
tree444d25e848d63e0c41abbfbe40b576362a8a76f2
parentfbd7fe118cf7fb0ad0344993bb92463d0d56eb33 (diff)
downloadNim-3e843ab335817cd4a111b56574575c2c841b40ed.tar.gz
[backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip]
-rw-r--r--lib/pure/times.nim2
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) &