Skip to content

GitHubMilestoneApiTests due_on Should Use LocalDate #11706

@rwinch

Description

@rwinch

GitHubMilestoneApiTests uses Instant.now() for due_on. Since Instant.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 an Instant based upon the timezone of the current computer.

Metadata

Metadata

Assignees

Labels

in: buildAn issue in the buildstatus: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions