Skip to content

[R] Update as.Date() to support a timezone different from "UTC" #31247

@asfimport

Description

@asfimport

I was wrong about this, it is supported in Arrow. Addressed in PR: #12433

Base R support this, but currently Arrow does {}not{}.

a <- as.POSIXct("2022-02-25 00:00:01", tz = "Europe/London")
as.Date(a, tz = "Pacific/Marquesas") 
#> [1] "2022-02-24"

Reporter: Dragoș Moldovan-Grünfeld / @dragosmg
Assignee: Dragoș Moldovan-Grünfeld / @dragosmg

PRs and other links:

Note: This issue was originally created as ARROW-15806. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions