From 0ff510ca070680ea2ce69bf539b3fb717a3e61d7 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] (cherry picked from commit 3e843ab335817cd4a111b56574575c2c841b40ed) --- 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 4cf8a5e98821..f255bdd428ae 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -1304,7 +1304,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) &