Skip to content

Commit 0ff510c

Browse files
Milannarimiran
authored andcommitted
[backport] times/getClockStr(): fix mistake in doc (nim-lang#13229) [ci skip]
(cherry picked from commit 3e843ab)
1 parent 16eaebb commit 0ff510c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pure/times.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ proc getDateStr*(dt = now()): string {.rtl, extern: "nt$1", tags: [TimeEffect].}
13041304
'-' & intToStr(dt.monthday, 2)
13051305
13061306
proc getClockStr*(dt = now()): string {.rtl, extern: "nt$1", tags: [TimeEffect].} =
1307-
## Gets the current local clock time as a string of the format ``HH:MM:SS``.
1307+
## Gets the current local clock time as a string of the format ``HH:mm:ss``.
13081308
runnableExamples:
13091309
echo getClockStr(now() - 1.hours)
13101310
result = intToStr(dt.hour, 2) & ':' & intToStr(dt.minute, 2) &

0 commit comments

Comments
 (0)