You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/12/20 13:35:23 UTC

Re: [I] [Python][R] Add timezone information when printing TimestampArray [arrow]

paleolimbot commented on issue #39315:
URL: https://github.com/apache/arrow/issues/39315#issuecomment-1864484978

   It looks like we already print the timezone?
   
   ``` r
   arrow::as_arrow_array(Sys.time())
   #> Array
   #> <timestamp[us, tz=America/Halifax]>
   #> [
   #>   2023-12-20 13:33:42.632165
   #> ]
   ```
   
   ...and it also looks like our abbreviated printer displays it too:
   
   ``` r
   dplyr::glimpse(arrow::arrow_table(ts = Sys.time()))
   #> Table
   #> 1 rows x 1 columns
   #> $ ts <timestamp[us, tz=America/Halifax]> 2023-12-20 09:34:44
   ```
   
   The `Z` suffix is definitely a good idea though!
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org