-
Notifications
You must be signed in to change notification settings - Fork 101
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
Fix Instant.parse
succeeding even when seconds are omitted on the JVM and JS
#370
Conversation
1e5668c
to
e198569
Compare
Why should we fix inconsistency between platforms in this direction and not the other way? |
After an internal discussion, we decided to keep this implementation similar to Java, which intentionally rejects |
@dkhalanskyjb I'd love to see the reasoning behind this :) Could you share please? |
Sure, here are several arguments for always requiring seconds:
Counterarguments:
|
We decided to implement |
Instant.parse
suceeding even when seconds are omitted on the JVM and JSInstant.parse
succeeding even when seconds are omitted on the JVM and JS
ok, let's leave a TODO |
e198569
to
94a2e0d
Compare
94a2e0d
to
f9df45b
Compare
Fixes #369