1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00
anytype-heart/util/time/time.go
2024-08-01 10:51:27 +02:00

10 lines
173 B
Go

package time
import (
"time"
)
func CutToDay(t time.Time) time.Time {
roundTime := time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 0, t.Location())
return roundTime
}