> Martin Maechler
> on Fri, 23 Sep 2022 11:04:12 +0200 writes:
> Kurt Hornik
> on Fri, 23 Sep 2022 09:57:49 +0200 writes:
> Martin Maechler writes:
> > Currently in R-devel,
>
> R> as.POSIXlt.Date
> > function (x, ...)
> > {
> >if (any((y
> Kurt Hornik
> on Fri, 23 Sep 2022 09:57:49 +0200 writes:
> Martin Maechler writes:
> Currently in R-devel,
R> as.POSIXlt.Date
> function (x, ...)
> {
>if (any((y <- unclass(x)) > .Machine$integer.max, na.rm = TRUE))
>
> Martin Maechler writes:
Currently in R-devel,
R> as.POSIXlt.Date
function (x, ...)
{
if (any((y <- unclass(x)) > .Machine$integer.max, na.rm = TRUE))
as.POSIXlt(.POSIXct(y * 86400), tz = "UTC")
else .Internal(Date2POSIXlt(x))
}
R> as.POSIXct.Date
function (x, ...)
> Roland Fuß
> on Tue, 20 Sep 2022 09:25:52 +0200 writes:
> Hello, May I follow up on this? Has it fallen through the
> cracks or were there considerations against passing `tz`
> to `.POSIXct`?
> Regards,
> Roland
Hmm... I don't remember even though I had
Hello,
May I follow up on this? Has it fallen through the cracks or were there
considerations against passing `tz` to `.POSIXct`?
Regards,
Roland
Am 17.05.2018 um 19:55 schrieb Martin Maechler:
Roland Fuß
on Wed, 16 May 2018 17:21:07 +0200 writes:
> R 3.5.0 Is it intended that
Am 17.05.2018 um 19:55 schrieb Martin Maechler:
Roland Fuß
on Wed, 16 May 2018 17:21:07 +0200 writes:
> R 3.5.0 Is it intended that the Date method of as.POSIXct
> does not respect the tz parameter? I suggest changing
> as.POSIXct.Date
which is
function (x, ...)
> Roland Fuß
> on Wed, 16 May 2018 17:21:07 +0200 writes:
> R 3.5.0 Is it intended that the Date method of as.POSIXct
> does not respect the tz parameter? I suggest changing
> as.POSIXct.Date
which is
function (x, ...) .POSIXct(unclass(x) * 86400)
> to this:
R 3.5.0
Is it intended that the Date method of as.POSIXct does not respect the
tz parameter? I suggest changing as.POSIXct.Date to this:
function (x, tz = "", ...)
.POSIXct(unclass(x) * 86400, tz = tz)
Currently, the best workaround seems to be using the character method if
one doesn't