jorisvandenbossche commented on a change in pull request #12240:
URL: https://github.com/apache/arrow/pull/12240#discussion_r793010827
##########
File path: r/R/array.R
##########
@@ -188,6 +188,11 @@ Array$create <- function(x, type = NULL) {
return(out)
}
+ if (inherits(x, "POSIXct") && attr(x, "tzone") == "") {
+ attr(x, "tzone") <- Sys.timezone()
Review comment:
I came to the same conclusion as @jonkeane when I checked this earlier
today: it still displays with a timezone, and also the underlying integer is
the same compared to creating the POSIXct with tzone=""
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]