From 2f621a5981fd2b8b646595e0290c6868fc2371f1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 27 Apr 2026 17:17:41 +0200 Subject: [PATCH] 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. --- backup-upload.rsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup-upload.rsc b/backup-upload.rsc index 3230ef65..b89d123d 100644 --- a/backup-upload.rsc +++ b/backup-upload.rsc @@ -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";