cmd/syncthing: Fix support bundle zip name pattern

This commit is contained in:
Jakob Borg 2018-10-02 05:32:54 +02:00
parent 675846ac1e
commit 3d74ff97af
1 changed files with 1 additions and 1 deletions

View File

@ -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)