[Rd] Will R 4.5.2 include time zone reconciliation in '[<-.POSIXlt'?

Suharto Anggono Suharto Anggono @uh@rto_@nggono @end|ng |rom y@hoo@com
Sun Oct 19 12:50:06 CEST 2025


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]]



More information about the R-devel mailing list