Skip to content
Prev 61040 / 63421 Next

Date method of as.POSIXct does not respect tz

Hmm, good plan, but not working for the (more important) second
branch:

   as.POSIXlt(<POSIXlt>, tz = "..")

immediately returns the first argument without ever looking if
there are further arguments, in this case 'tz'..

--> we would also have to slightly change  as.POSIXlt.default(x)
such that it obeyed a 'tz = ".."'  in the case of x being
"POSIXlt".
Almost surely this will break some code which had relied on the
current -- a bit surpristing to me -- behavior.

Well,... I think we *should* want the above {setting a "tz"} for
POSIXlt to work.

Martin