Re: [Rd] as.character.POSIXt in R devel

2022-10-07 Thread Suharto Anggono Suharto Anggono via R-devel
Yes, no documentation. "POSIXlt" object with out-of-bounds components or whose components are not all of the same length may be produced internally by 'seq.POSIXt'. Initially, 'r1' is a "POSIXlt" object whose all components have length 1. Component 'year', 'mon', or 'mday' of 'r1' is then modifie

Re: [Rd] A potential POSIXlt->Date bug introduced in r-devel

2022-10-07 Thread Martin Maechler
> Martin Maechler > on Thu, 6 Oct 2022 10:15:29 +0200 writes: > Davis Vaughan > on Wed, 5 Oct 2022 17:04:11 -0400 writes: >> Hi all, >> I think I have discovered a bug in the conversion from POSIXlt to Date that >> has been introduced in r-devel. >> It

Re: [Rd] A potential POSIXlt->Date bug introduced in r-devel

2022-10-07 Thread Davis Vaughan
Martin, FWIW, I scoured the docs using GitHub's new code search preview but can't seem to find any reference to the fact that POSIXlt fields are internally recycled (even though lubridate seems to have been relying on this for quite some time). -Davis On Fri, Oct 7, 2022 at 8:52 AM Martin Maechl