Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24937

table.rb use LocalDateTime to replace Instant

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.2.3
    • 3.0.0-alpha-1, 2.4.0, 2.3.2
    • shell
    • None

    Description

      https://github.com/apache/hbase/blob/9f62a82334574b135f8e220b024981df64fab811/hbase-shell/src/main/ruby/hbase/table.rb#L754

      we can use timeZone to improve readability.

      return java.time.LocalDateTime.ofInstant(instant, java.time.ZoneId.systemDefault()).toString
      

      Attachments

        Issue Links

          Activity

            People

              Bo Cui Bo Cui
              Bo Cui Bo Cui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: