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:
Christian Hesse 2026-04-27 17:17:38 +02:00
parent 5fb4761590
commit bfc9f3bd86

View file

@ -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";