From 3e843ab335817cd4a111b56574575c2c841b40ed Mon Sep 17 00:00:00 2001 From: Milan Date: Wed, 22 Jan 2020 18:22:14 +0100 Subject: [PATCH] [backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip] --- lib/pure/times.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/times.nim b/lib/pure/times.nim index a5846fabb847..4a33197e24d5 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) &