backup-upload: 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:41 +02:00
parent bfc9f3bd86
commit 7a17e42919

View file

@ -74,8 +74,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";