[ 
https://issues.apache.org/jira/browse/ARROW-15806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dragoș Moldovan-Grünfeld updated ARROW-15806:
---------------------------------------------
    Description: 
I was wrong about this, it is supported in Arrow. Addressed in PR: 
[https://github.com/apache/arrow/pull/12433]
==========================
Base R support this, but currently Arrow does {-}not{-}.
{code:r}
a <- as.POSIXct("2022-02-25 00:00:01", tz = "Europe/London")
as.Date(a, tz = "Pacific/Marquesas") 
#> [1] "2022-02-24"
{code}

  was:
Base R support this, but currently Arrow does not. 
{code:r}
a <- as.POSIXct("2022-02-25 00:00:01", tz = "Europe/London")
as.Date(a, tz = "Pacific/Marquesas") 
#> [1] "2022-02-24"
{code}


> [R] Update as.Date() to support a timezone different from "UTC"
> ---------------------------------------------------------------
>
>                 Key: ARROW-15806
>                 URL: https://issues.apache.org/jira/browse/ARROW-15806
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: R
>            Reporter: Dragoș Moldovan-Grünfeld
>            Priority: Major
>
> I was wrong about this, it is supported in Arrow. Addressed in PR: 
> [https://github.com/apache/arrow/pull/12433]
> ==========================
> Base R support this, but currently Arrow does {-}not{-}.
> {code:r}
> a <- as.POSIXct("2022-02-25 00:00:01", tz = "Europe/London")
> as.Date(a, tz = "Pacific/Marquesas") 
> #> [1] "2022-02-24"
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to