[
https://issues.apache.org/jira/browse/ARROW-13033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-13033:
-----------------------------------
Labels: pull-request-available timestamp (was: timestamp)
> [C++] Kernel to localize naive timestamps to a timezone (preserving
> clock-time)
> -------------------------------------------------------------------------------
>
> Key: ARROW-13033
> URL: https://issues.apache.org/jira/browse/ARROW-13033
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Joris Van den Bossche
> Assignee: Rok Mihevc
> Priority: Major
> Labels: pull-request-available, timestamp
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Given a tz-naive timestamp, "localize" would interpret that timestamp as
> local in a given timezone, and return a tz-aware timestamp keeping the same
> "clock time" (the same year/month/day/hour/etc in the printed
> representation). Under the hood this converts the timestamp value from that
> timezone to UTC, since tz-aware timestamps are stored as UTC.
> References:
> [tz_localize|https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.tz_localize.html]
> in pandas, or
> [force_tz|https://lubridate.tidyverse.org/reference/force_tz.html] in R's
> lubridate package
> This will (eventually) also have to deal with ambiguous or non-existing times.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)