cluade code review changes
This commit is contained in:
@@ -39,7 +39,7 @@ func StartOfDay(date time.Time) time.Time {
|
||||
|
||||
func EndOfDay(date time.Time) time.Time {
|
||||
year, month, day := date.Date()
|
||||
return time.Date(year, month, day, 23, 59, 59, 0, date.Location())
|
||||
return time.Date(year, month, day, 23, 59, 59, 999999999, date.Location())
|
||||
}
|
||||
|
||||
func StartOfMonth(date time.Time) time.Time {
|
||||
|
||||
Reference in New Issue
Block a user