We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Lubridate jumps over the 3ed month here:
as.period(interval(ymd("1985-12-31"),ymd("1986-01-01")))%/%months(1) as.period(interval(ymd("1985-12-31"),ymd("1986-02-01")))%/%months(1) as.period(interval(ymd("1985-12-31"),ymd("1986-03-01")))%/%months(1) as.period(interval(ymd("1985-12-31"),ymd("1986-04-01")))%/%months(1) as.period(interval(ymd("1985-12-31"),ymd("1986-05-01")))%/%months(1)
This seems to be a bug, or at least an unexpected calculation.
The text was updated successfully, but these errors were encountered:
The problem is with the
> as.period(interval(ymd("1985-12-31"),ymd("1986-03-01"))) [1] "2m -2d 0H 0M 0S"
There should be no negative days in as.period conversion.
as.period
Sorry, something went wrong.
0bbe8c1
No branches or pull requests
Lubridate jumps over the 3ed month here:
as.period(interval(ymd("1985-12-31"),ymd("1986-01-01")))%/%months(1)
as.period(interval(ymd("1985-12-31"),ymd("1986-02-01")))%/%months(1)
as.period(interval(ymd("1985-12-31"),ymd("1986-03-01")))%/%months(1)
as.period(interval(ymd("1985-12-31"),ymd("1986-04-01")))%/%months(1)
as.period(interval(ymd("1985-12-31"),ymd("1986-05-01")))%/%months(1)
This seems to be a bug, or at least an unexpected calculation.
The text was updated successfully, but these errors were encountered: