The following three calls all produce the same result (my machine is in EST):

> as.POSIXct(0, tz="", origin=ISOdatetime(1970,1,1,10,0,0)) 
[1] "1970-01-01 10:00:00 EST"
> as.POSIXct(0, tz="EST", origin=ISOdatetime(1970,1,1,10,0,0)) 
[1] "1970-01-01 10:00:00 EST"
> as.POSIXct(0, tz="GMT", origin=ISOdatetime(1970,1,1,10,0,0)) 
[1] "1970-01-01 10:00:00 EST"

EST is -5:00 GMT. Is it a bug that the third call above does not produce

[1] "1970-01-01 5:00:00 EST"

?

(Under R 2.15.1, Windows 64-bit)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to