Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13033

[C++] Kernel to localize naive timestamps to a timezone (preserving clock-time)

    XMLWordPrintableJSON

Details

    Description

      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 in pandas, or force_tz in R's lubridate package

      This will (eventually) also have to deal with ambiguous or non-existing times.

      Attachments

        Issue Links

          Activity

            People

              rokm Rok Mihevc
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 15h 50m
                  15h 50m