You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Pankaj Kumar (Jira)" <ji...@apache.org> on 2020/09/04 15:23:00 UTC
[jira] [Commented] (HBASE-24937) table.rb use LocalDateTime to
replace Instant
[ https://issues.apache.org/jira/browse/HBASE-24937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17190772#comment-17190772 ]
Pankaj Kumar commented on HBASE-24937:
--------------------------------------
Pushed to master branch, cherry-pick to branch-2 failed. [~Bo Cui] mind raising PR for branch-2?
> 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
> Fix For: 3.0.0-alpha-1
>
>
> 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)