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
packageVersion("lubridate") #> [1] ‘1.5.0’ t1 <- "1985-11-24" t2 <- "2007-08-13" as.period(interval(t1, t2)) #> [1] "21y 9m 19d 23H 0M 0S"
But the amount of time between the two dates is 21 years, 8 months, 20 days.
The text was updated successfully, but these errors were encountered:
This is a bug. Wrong computation with months.I am a bit surprised this went though unnoticed in our tests.
Sorry, something went wrong.
d6eb225
No branches or pull requests
But the amount of time between the two dates is 21 years, 8 months, 20 days.
The text was updated successfully, but these errors were encountered: