The maybeTick func which determines if a cuttoff should happen does not use the configured timezone. This results in incorrect behavior when the timezone and cuttoff time specified straddles a day since IsWeekend and IsBankingDay would use an incorrect date.
The
maybeTick
func which determines if a cuttoff should happen does not use the configured timezone. This results in incorrect behavior when the timezone and cuttoff time specified straddles a day sinceIsWeekend
andIsBankingDay
would use an incorrect date.Related https://github.com/moov-io/base/pull/148