You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Bo Cui (Jira)" <ji...@apache.org> on 2020/08/27 09:02:00 UTC

[jira] [Assigned] (HBASE-24937) table.rb use LocalDateTime to replace Instant

     [ https://issues.apache.org/jira/browse/HBASE-24937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bo Cui reassigned HBASE-24937:
------------------------------

    Assignee: Bo Cui

> table.rb use LocalDateTime to replace Instant
> ---------------------------------------------
>
>                 Key: HBASE-24937
>                 URL: https://issues.apache.org/jira/browse/HBASE-24937
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 3.0.0-alpha-1, 2.2.3
>            Reporter: Bo Cui
>            Assignee: Bo Cui
>            Priority: Minor
>
> https://github.com/apache/hbase/blob/9f62a82334574b135f8e220b024981df64fab811/hbase-shell/src/main/ruby/hbase/table.rb#L754
> we can use timeZone to improve readability.
> {code:java}
> return java.time.LocalDateTime.ofInstant(instant, java.time.ZoneId.systemDefault()).toString
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)