dragosmg commented on a change in pull request #12433: URL: https://github.com/apache/arrow/pull/12433#discussion_r816591366
########## File path: r/tests/testthat/test-dplyr-funcs-datetime.R ########## @@ -801,3 +801,94 @@ test_that("dst extracts daylight savings time correctly", { test_df ) }) + +test_that("date works in arrow", { + # https://issues.apache.org/jira/browse/ARROW-13168 + skip_on_os("windows") + # this date is specific since lubridate::date() is different from base::as.Date() + # since as.Date returns the UTC date and date() doesn't + test_df <- tibble( + a = as.POSIXct(c("2012-03-26 23:12:13", NA), tz = "America/New_York")) Review comment: Done. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org