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/24 01:21:00 UTC
[jira] [Created] (HBASE-24937) table.rb use LocalDateTime to
replace Instant
Bo Cui created HBASE-24937:
------------------------------
Summary: table.rb use LocalDateTime to replace Instant
Key: HBASE-24937
URL: https://issues.apache.org/jira/browse/HBASE-24937
Project: HBase
Issue Type: Improvement
Reporter: Bo Cui
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)