GitHubMilestoneApiTests due_on Should Use LocalDate #11706
Labels
in: build
An issue in the build
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
GitHubMilestoneApiTests
usesInstant.now()
fordue_on
. SinceInstant.now()
is UTC time based,isMilestoneDueTodayWhenDueTodayThenTrue
fails when the computer that runs the test is not the same day as it is in UTC time.To fix it,
due_on
should be set to anInstant
based upon the timezone of the current computer.The text was updated successfully, but these errors were encountered: