chore: update
This commit is contained in:
@@ -9,7 +9,11 @@ import (
|
||||
)
|
||||
|
||||
func OrderHoursMiddleware(c *gin.Context) {
|
||||
now := time.Now()
|
||||
loc, err := time.LoadLocation("Europe/Paris")
|
||||
if err != nil {
|
||||
loc = time.UTC
|
||||
}
|
||||
now := time.Now().In(loc)
|
||||
hour := now.Hour()
|
||||
min := now.Minute()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user