mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
times.nim: Minor formatting change in the example code
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
let time = cpuTime()
|
||||
|
||||
sleep(100) # replace this with something to be timed
|
||||
echo "Time taken: ",cpuTime() - time
|
||||
echo "Time taken: ", cpuTime() - time
|
||||
|
||||
echo "My formatted time: ", format(now(), "d MMMM yyyy HH:mm")
|
||||
echo "Using predefined formats: ", getClockStr(), " ", getDateStr()
|
||||
|
||||
Reference in New Issue
Block a user