The POSIXct variable xx has a tzone attribute but if I add 1 second to it
then the tzone attribute gets stripped.  Is that intended?

> xx <- as.POSIXct(format(Sys.time()), tz = "")
> dput(xx)
structure(1259541335.099, class = c("POSIXt", "POSIXct"), tzone = "")
> dput(xx+1)
structure(1259541336.099, class = c("POSIXt", "POSIXct"))

> R.version.string # Windows Vista
[1] "R version 2.10.0 Patched (2009-11-21 r50532)"

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to