like this?
import times
proc now(): string = # module.now() won't conflict with times.now
when NimVersion == "0.17.2":
$getLocalTime(getTime())
else:
$times.now()
proc info(msg: string) = echo(now(), " INFO ", msg)
info("Hello world")
- times.now() not found? monster
- Re: times.now() not found? Stefan_Salewski
- Re: times.now() not found? mashingan
- Re: times.now() not found? monster
- Re: times.now() not found? mashingan
