Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15805 [R] Update the as.Date() binding
  3. ARROW-15806

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • R
    • None

    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.

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

      Attachments

        Issue Links

          Activity

            People

              dragosmg Dragoș Moldovan-Grünfeld
              dragosmg Dragoș Moldovan-Grünfeld
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: