Closed PaulGunsalus closed 9 months ago
The timezone for a POSIXct vector is a single attribute that applies to the whole object. The timezone is not something that can vary for element 1 vs, say, element 3. Since map()
returns a list of length-1 POSIXct here, each one can have its own timezone. But when you force them all to live together in a POSIXct vector, such as the return value of map_vec()
or list_c()
, there must be a common timezone attribute.
Thanks for clarifying, that makes sense.
I will close the thread.
purrr::map_vec is not retuning the same output as purrr::map when converting time zones.
This also does the same thing.