mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-05-09 13:29:39 +00:00
backup-email: drop the GMT offset from filename...
... as it is of little help only. Also it is ambiguous due to signdness being dropped when cleaning the name.
This commit is contained in:
parent
0382a368ec
commit
fd956519e2
1 changed files with 2 additions and 2 deletions
|
|
@ -75,8 +75,8 @@
|
|||
# filename based on identity
|
||||
:local DirName ("tmpfs/" . $ScriptName);
|
||||
:local Clock [ /system/clock/get ];
|
||||
:local FileName [ $CleanName ($Identity . "." . $Domain . [ $IfThenElse ($BackupFileNameDate = true) \
|
||||
("-" . $Clock->"date" . "-" . $Clock->"time" . "-" . $Clock->"gmt-offset") "" ] ) ];
|
||||
:local FileName [ $CleanName ($Identity . "." . $Domain . [ $IfThenElse \
|
||||
($BackupFileNameDate = true) ("-" . $Clock->"date" . "-" . $Clock->"time") "" ] ) ];
|
||||
:local FilePath ($DirName . "/" . $FileName);
|
||||
:local BackupFile "none";
|
||||
:local ExportFile "none";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue