mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
* Add test case * Remove formatValue template for `Time` It didn't handle empty specifier correctly which caused it to be blank with strformat
6 lines
125 B
Nim
6 lines
125 B
Nim
import std/[times, strformat]
|
|
import std/assertions
|
|
|
|
doAssert fmt"{getTime()}" == $getTime()
|
|
doAssert fmt"{now()}" == $now()
|