Bug on Format date

This commit is contained in:
mr 2024-08-21 16:11:51 +02:00
parent 39030a0a80
commit cf6143887e

View File

@ -86,7 +86,7 @@ func (wfa *Workflow) CheckBooking(subPath string) (bool, error) {
}
func (wfa *Workflow) getFormat(date *time.Time) string {
month := fmt.Sprintf("%v", date.Month())
month := fmt.Sprintf("%v", int(date.Month()))
day := fmt.Sprintf("%v", date.Day())
hour := fmt.Sprintf("%v", date.Hour())
minute := fmt.Sprintf("%v", date.Minute())