Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upas.IDate ignores origin #2880
as.IDate ignores origin #2880
Comments
|
I've took a look in the source code and I don't see any attention to as.IDate.numeric <- function(x, origin = "1970-01-01", ...) as.IDate(origin, ...) + x
as.IDate(1000)
## [1] "1972-09-27"
as.IDate(1000, origin = "1930-01-01")
## [1] "1932-09-27"This also won't brake compatibility with the old behavior |
|
Found the same bug today. @DavidArenburg , have you considered submitting a PR for this? |
Searched for this in the issues but couldn't find it. It seem like
as.IDateignoresorigin