]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
backup.pl: Use a sane timestamp format
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Aug 2024 18:10:12 +0000 (18:10 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Aug 2024 18:10:12 +0000 (18:10 +0000)
I don't think it is nice to mix underscare and dash.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/backup.pl

index 7b2f953040d523ff84dfb7bd8c5f1fd452876454..3b10b870763d3a8cb1b402944d6111041a485b1f 100644 (file)
@@ -21,7 +21,7 @@
 
 shopt -s nullglob
 
-NOW="$(date "+%Y-%m-%d_%H-%M")"
+NOW="$(date "+%Y-%m-%d-%H%M")"
 
 list_addons() {
        local file