From 3d74ff97af50e47bd93a50c010b8f296bcda76b8 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 2 Oct 2018 05:32:54 +0200 Subject: [PATCH] cmd/syncthing: Fix support bundle zip name pattern --- cmd/syncthing/gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index de2f22d50..2cb08ba16 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -1123,7 +1123,7 @@ func (s *apiService) getSupportBundle(w http.ResponseWriter, r *http.Request) { } // Set zip file name and path - zipFileName := fmt.Sprintf("support-bundle-%s.zip", time.Now().Format("2018-01-02T15.04.05")) + zipFileName := fmt.Sprintf("support-bundle-%s.zip", time.Now().Format("2006-01-02T150405")) zipFilePath := filepath.Join(baseDirs["config"], zipFileName) // Write buffer zip to local zip file (back up)