mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-18 18:19:16 -05:00
add {unixtime} placeholder, fixes #8522
This commit is contained in:
parent
07e0eabb69
commit
4eef6178e4
1 changed files with 1 additions and 0 deletions
|
|
@ -280,6 +280,7 @@ def _replace_placeholders(text, overrides={}):
|
|||
"hostname": hostname,
|
||||
"now": DatetimeWrapper(current_time.astimezone()),
|
||||
"utcnow": DatetimeWrapper(current_time),
|
||||
"unixtime": int(current_time.timestamp()),
|
||||
"user": getosusername(),
|
||||
"uuid4": str(uuid.uuid4()),
|
||||
"borgversion": borg_version,
|
||||
|
|
|
|||
Loading…
Reference in a new issue