fixes a critical times.nim bug reported on IRC [backport] (#13216)
This commit is contained in:
parent
b355ef2a72
commit
bdb7c82c6a
2 changed files with 6 additions and 2 deletions
|
|
@ -717,6 +717,9 @@ when isMainModule:
|
|||
var tm = fromUnix(0)
|
||||
discard &"{tm}"
|
||||
|
||||
var noww = now()
|
||||
check &"{noww}", $noww
|
||||
|
||||
# Unicode string tests
|
||||
check &"""{"αβγ"}""", "αβγ"
|
||||
check &"""{"αβγ":>5}""", " αβγ"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue