Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LobbyLobster committed Feb 12, 2024
1 parent a331268 commit a6d6572
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backup/dumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ func dumpName(db string, params config.Rotation) string {
suffix := params.Suffix
switch suffix {
case "day":
return "Daily/" + db + "-" + dateNow.day
return "Daily/" + dateNow.day + "/" + db + "-" + dateNow.day
case "hour":
return "Hourly/" + dateNow.day + db + "-" + dateNow.hour
return "Hourly/" + dateNow.day + "/" + dateNow.hour + "/" + db + "-" + dateNow.hour
case "minute":
return "Custom/" + dateNow.day + db + "-" + dateNow.minute
return "Custom/" + dateNow.day + "/" + dateNow.day + "/" + db + "-" + dateNow.minute
default:
return "Daily/" + db + "-" + dateNow.day
}
Expand Down

0 comments on commit a6d6572

Please sign in to comment.