Redmage/api/utils/utils.go
Tigor Hutasuhut f71cda7c92
Some checks failed
/ push (push) Has been cancelled
schedule-history: revamp schedule history page
2024-06-04 21:08:36 +07:00

8 lines
147 B
Go

package utils
import "time"
func StartOfDay(t time.Time) time.Time {
return time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 0, t.Location())
}