summaryrefslogtreecommitdiff
path: root/mikrotik-backup
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2017-03-09 09:51:42 +0100
committerPeter Palfrader <peter@palfrader.org>2017-08-16 20:50:49 +0200
commit912e74ffb9edeaa2830eb60587ee8d3a70bbce3b (patch)
tree20e46d7e13fcd1a8b2d048aace006fedf0c97071 /mikrotik-backup
parentd5d675a333cd75ac4713a9cc0779e3cd37f6dacb (diff)
fix date format
Diffstat (limited to 'mikrotik-backup')
-rwxr-xr-xmikrotik-backup2
1 files changed, 1 insertions, 1 deletions
diff --git a/mikrotik-backup b/mikrotik-backup
index 37e759d..cf4059d 100755
--- a/mikrotik-backup
+++ b/mikrotik-backup
@@ -41,7 +41,7 @@ umask 077
user=backup
hosts="router.noreply.org router2.debian.org"
-ts=$(date +"%Y%M%ST%H%M%S")
+ts=$(date +"%Y%m%dT%H%M%S")
rc=0
for h in $hosts; do