We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1baf1 commit dc954a2Copy full SHA for dc954a2
file_writer.go
@@ -29,7 +29,7 @@ import (
29
const dirPerm os.FileMode = 0766
30
const filePerm os.FileMode = 0666
31
const fileFlag = os.O_WRONLY | os.O_CREATE | os.O_APPEND
32
-const backupTimeFormat = "2006-01-02T15:04:05.000"
+const backupTimeFormat = "2006-01-02T15-04-05.000"
33
34
// NewFileWriter creates and returns an io.WriteCloser instance from the given path.
35
// The max parameter is used to limit the maximum size of the log file, if it is 0, the
0 commit comments