Figuring out the Time object...
FossilOrigin-Name: 9c28f75cfe209e71cc148a14ca64142083efe03c408e611da0388aff763972a8
This commit is contained in:
parent
024b108bed
commit
33a5553e31
1 changed files with 1 additions and 3 deletions
|
|
@ -68,9 +68,7 @@ proc newMessage*( dir: Maildir ): Message =
|
||||||
|
|
||||||
let now = getTime()
|
let now = getTime()
|
||||||
result.dir = dir
|
result.dir = dir
|
||||||
echo now
|
result.path = dir.path & dir.tmp & '/' & $now.toUnixFloat()
|
||||||
|
|
||||||
# result.path = dir.path & now.seconds
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue