fix mistake in times.nim docs

This commit is contained in:
narimiran
2020-07-07 22:57:06 +02:00
parent 8480bef1c4
commit e82a14b273

View File

@@ -1408,7 +1408,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)
assertDateTimeInitialized dt