You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please provide a minimal reprex (reproducible example)? The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it: please help me help you! If you've never heard of a reprex before, start by reading about the reprex package, including the advice further down the page. Please make sure your reprex is created with the reprex package as it gives nicely formatted output and avoids a number of common pitfalls.
There are two issues: data.frame() automatically turns POSIXlt to POSIXlt so there's no POSIXlt in the data frame example. So write_csv()/format_csv() always appears to lose timezones of POSIXlt variables.
write_csv
removes the time zone information from the POSIXlt values in tibble and appends Z to the output."2000-01-01 09:00:00 JST" equals "2000-01-01 00:00:00Z".
However, when using tibble, the POSIXlt value of "2000-01-01 09:00:00 JST" is output as "2000-01-01 09:00:00Z".
The text was updated successfully, but these errors were encountered: