Revert commit 3e843ab335. Closes #14930.
This commit is contained in:
parent
a61a7889b8
commit
25ceacbe4f
1 changed files with 1 additions and 1 deletions
|
|
@ -1408,7 +1408,7 @@ proc getDateStr*(dt = now()): string {.rtl, extern: "nt$1", tags: [TimeEffect].}
|
||||||
'-' & intToStr(dt.monthday, 2)
|
'-' & intToStr(dt.monthday, 2)
|
||||||
|
|
||||||
proc getClockStr*(dt = now()): string {.rtl, extern: "nt$1", tags: [TimeEffect].} =
|
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:
|
runnableExamples:
|
||||||
echo getClockStr(now() - 1.hours)
|
echo getClockStr(now() - 1.hours)
|
||||||
assertDateTimeInitialized dt
|
assertDateTimeInitialized dt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue