GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
#>  ‘1.5.0’
t1 <- "1985-11-24"
t2 <- "2007-08-13"
#>  "21y 9m 19d 23H 0M 0S"
But the amount of time between the two dates is 21 years, 8 months, 20 days.
This is a bug. Wrong computation with months.I am a bit surprised this went though unnoticed in our tests.