ddbdba233d0a2c87787126974d6216c8391e2375
same bug as #377, one level up: StartOfMinute/EndOfMinute rebuilt the time with time.Date, so in a repeated hour new york 01:34:49 EST got a minute ending before it. they now copy the instance and subtract the local seconds, keeping the instant, location and offset (not Truncate(time.Minute), which breaks lmt offsets with seconds).
Description
My contributions to dromara/carbon: 1 commits, 1 merged PRs
32 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
100%