[R-sig-Debian] Timezone conversion on Ubuntu 20.04

Johannes Ranke joh@nne@@r@nke @end|ng |rom jrwb@de
Sat Apr 25 10:33:49 CEST 2020


Am Samstag, 25. April 2020, 01:02:38 CEST schrieb Jeroen Ooms:
> Hi all,
> 
> I am testing R 4.0 and ran into an issue with timezones on Ubuntu
> Focal: converting a timestamp to another timezone results in NA:
> 
>   as.POSIXct(as.POSIXlt(Sys.time(), tz = "CET"), tz = "EST")
> 
> This only happens on Ubuntu Focal, it seems to work fine on Ubuntu
> Bionic. I am the standard ubuntu docker image icw/ r-base from Dirk's
> ppa:edd/r-4.0 on both systems.

works fine using the backported R 4.0.0 on Debian buster:

R> as.POSIXct(as.POSIXlt(Sys.time(), tz = "CET"), tz = "EST")
[1] "2020-04-25 10:05:29 EST"

Johannes

> 
> Am I missing a system dependency for tzone data?
> 
> Jeroen
> 
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian



More information about the R-SIG-Debian mailing list