Skip to content
Prev 387903 / 398502 Next

Date Time, as.POSIXct used locale, strange plot behavior

Hi.

It should be probably CET not CEST.

arrows(as.POSIXct("2021-04-21 00:00:00", tz="CEST"),
       0.3,
       as.POSIXct("2021-04-21 00:00:00", tz="CEST"),
       0.2,
       length=0.07, angle=15)


arrows(as.POSIXct("2021-04-21 00:00:00", tz="CET"),
       0.3,
       as.POSIXct("2021-04-21 00:00:00", tz="CET"),
       0.2,
       length=0.07, angle=15)

Cheers
Petr
system