Commits


Dragoș Moldovan-Grünfeld authored and Jonathan Keane committed 0eaafe80554
ARROW-14817 [R] Implement bindings for `lubridate::tz()` This PR should make the following snippets of code equivalent: ``` r df <- tibble::tibble( x = as.POSIXct(c("2022-02-07", "2022-03-04"), tz = "Pacific/Marquesas") ) df %>% mutate(timezone = tz(x)) # A tibble: 2 × 2 x timezone <dttm> <chr> 1 2022-02-07 00:00:00 Pacific/Marquesas 2 2022-03-04 00:00:00 Pacific/Marquesas ``` and ```r dr %>% record_batch() %>% mutate(timezone = tz(x) %>% collect() ``` Closes #12357 from dragosmg/lubridate_tz_binding Lead-authored-by: Dragoș Moldovan-Grünfeld <dragos.mold@gmail.com> Co-authored-by: Jonathan Keane <jkeane@gmail.com> Signed-off-by: Jonathan Keane <jkeane@gmail.com>