Bug on Format date
This commit is contained in:
parent
39030a0a80
commit
cf6143887e
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user