util.go 152 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7
package diamond_m

import "time"

func getZeroTime(t time.Time) time.Time {
	return time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 0, t.Location())
}