when converting a POSIX to an IDate, for certain time zone settings as.IDate returns NAs instead of the correct date. For example, this is the case for
as.IDate(as.POSIXct("1900-01-01",tz="UTC"))
The same happens, if I change the time zone to GTM, but interestingly it works just fine for CET or EST.
As a console output I get the following warning:
Warning message:
In setattr(as.integer(x)%/%86400L, "class", c("IDate", "Date")) :
NAs introduced by coercion to integer range
Hello,
when converting a POSIX to an IDate, for certain time zone settings as.IDate returns NAs instead of the correct date. For example, this is the case for
as.IDate(as.POSIXct("1900-01-01",tz="UTC"))
The same happens, if I change the time zone to GTM, but interestingly it works just fine for CET or EST.
As a console output I get the following warning:
The text was updated successfully, but these errors were encountered: