Suharto Anggono Suharto Anggono
2025-Oct-19 10:50 UTC
[Rd] Will R 4.5.2 include time zone reconciliation in '[<-.POSIXlt'?
The change to '[<-.POSIXlt' to convert 'value' to the time zone of 'x', along with other accompanying changes, has been ported to R-4-5-branch with NEWS item not mentioning time zone. Has R Core been aware of the consequences I have stated in?https://bugs.r-project.org/show_bug.cgi?id=18919#c9 and still determined to retain it, to be released in R 4.5.2? To exclude time zone reconciliation while retaining other changes, just change ? ? ? ? ? ?value <- unCfillPOSIXlt(? ? ? ? ? ? ? ? if(inherits(value, "POSIXlt") && identical(tz, attr(value, "tzone")))? ? ? ? ? ? ? ? ? ? value? ? ? ? ? ? ? ? else as.POSIXlt(as.POSIXct(value), tz = tz[1L])) to ? ? ? ? ? ?value <- unCfillPOSIXlt(as.POSIXlt(value)) in '[<-POSIXlt' and '[[<-.POSIXlt'. [[alternative HTML version deleted]]
Suharto Anggono Suharto Anggono
2025-Oct-22 04:51 UTC
[Rd] Will R 4.5.2 include time zone reconciliation in '[<-.POSIXlt'?
=======On Sunday, 19 October 2025 at 05:50:06 pm GMT+7, Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com> wrote: The change to '[<-.POSIXlt' to convert 'value' to the time zone of 'x', along with other accompanying changes, has been ported to R-4-5-branch with NEWS item not mentioning time zone. Has R Core been aware of the consequences I have stated in?https://bugs.r-project.org/show_bug.cgi?id=18919#c9 and still determined to retain it, to be released in R 4.5.2? To exclude time zone reconciliation while retaining other changes, just change ? ? ? ? ? ?value <- unCfillPOSIXlt( ? ? ? ? ? ? ? ? if(inherits(value, "POSIXlt") && identical(tz, attr(value, "tzone"))) ? ? ? ? ? ? ? ? ? ? value ? ? ? ? ? ? ? ? else as.POSIXlt(as.POSIXct(value), tz = tz[1L])) to ? ? ? ? ? ?value <- unCfillPOSIXlt(as.POSIXlt(value)) in '[<-POSIXlt' and '[[<-.POSIXlt'. ======= Oh, with the change, variable 'tz' is not used. So, tz <- attr(x, "tzone") before it can be removed. [[alternative HTML version deleted]]