deepayan / lattice

Trellis Graphics for R
http://lattice.r-forge.r-project.org/
Other
68 stars 15 forks source link

Timezone attribute is lost when combining per-panel axis limits #23

Open deepayan opened 3 years ago

deepayan commented 3 years ago

Reprex from SO

library(lattice)
library(lubridate)
foo <- data.frame(t = seq(ymd_hms("2015-01-01 00:00:00"),
                          ymd_hms("2015-01-02 00:00:00"), 
                          by = "hour"),
                  y = 1:25)
head(foo)
xyplot(y~t, foo) # time axis is local time instead of UTC