reformat of timestamp
This commit is contained in:
parent
578bf97505
commit
e7fdcfa937
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const BORG_BIN = "borg"
|
|||
|
||||
proc genArchiveName(): string =
|
||||
let hostname = getHostname()
|
||||
let ts = getTime().format("yyyy-MM-dd'T'HH:mm:ssffffff")
|
||||
let ts = getTime().format("yyyy-MM-dd'T'HH:mm:ss'.'ffffff")
|
||||
return hostname & "-" & ts
|
||||
|
||||
proc genCommand(cmd: string, repo: string, others: seq[string]): string =
|
||||
|
|
Loading…
Reference in a new issue