Skip to content

Fix #23: Bug in Instant.toString #24

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

Merged
merged 1 commit into from
Feb 8, 2017
Merged

Conversation

pjrt
Copy link
Contributor

@pjrt pjrt commented Feb 7, 2017

Fix a bug where an extra :00 would be added to the toString if the
seconds field is 0 but the nanos field is not.

Also, there seems to be an issue when running the tests locally. If I run the tests it is fine, but if I modify the source code (not the tests) then when I go to run the tests I get several "non existent methods" error.

Referring to non-existent method java.time.Instant.range(java.time.temporal.TemporalField)java.time.temporal.ValueRange

After that happens I have to clean my targets git clean -xfd before I can run the tests again. Modifying the tests do not cause said issue to occur.

Fix a bug where an extra `:00` would be added to the `toString` if the
seconds field is 0 but the nanos field is not.
@sjrd
Copy link
Member

sjrd commented Feb 7, 2017

Thanks for your contribution.
Could you please sign the CLA: https://www.lightbend.com/contribute/cla/scala ?

@pjrt
Copy link
Contributor Author

pjrt commented Feb 8, 2017

@sjrd Done

Copy link
Member

@sjrd sjrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@sjrd sjrd merged commit 2b7f8a7 into scala-js:master Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants