-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add negative duration #3
Comments
can you please link some reference about how exactly is the standard allowing the negative notation? I can't find anything here: https://en.wikipedia.org/wiki/ISO_8601#Durations |
Yes I can't find it there too. Maybe I was misleaded because the Java documentation https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence- implies that it is possible but also says that it is not part of the 8601. Is there anything wrong with implementing it anyway? |
nothing wrong as long as it doesn't break the current behaviour, feel free to provide a Pull Request for this feature |
closing since it's not a real issue |
It would be nice to allow negative timeshift. At leaste the ISO8601 allows a negative notation.
The text was updated successfully, but these errors were encountered: