Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very minor issue in Gen.scala companion object #913

Closed
ModisR opened this issue Aug 25, 2022 · 0 comments
Closed

Very minor issue in Gen.scala companion object #913

ModisR opened this issue Aug 25, 2022 · 0 comments

Comments

@ModisR
Copy link

ModisR commented Aug 25, 2022

On lines 1519-1525, we see the following snippet:

    val endOfDayGen: Gen[Calendar] =
      calendar.map(c => adjust(c) { c =>
        c.set(HOUR_OF_DAY, 23)
        c.set(MINUTE, 59)
        c.set(SECOND, 59)
        c.set(MILLISECOND, 59)
      })

The milliseconds are set to 59 when they should presumably be 999.

rossabaker added a commit that referenced this issue Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants