Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1227

Created Date Format in CLI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • CLI
    • None

    Description

      When executing commands [1] and [3], the CLI Tool output gives a string of numbers as the created date [2] and [4]. The expected output should be as follows [5].

      [1] command : describe-tenant franklin.com
      [2] output
      -------------------------------------
      Tenant Information:
      -------------------------------------
      Tenant domain: franklin.com
      ID: 2
      Email: foo@bar.com
      Active: true
      Created date: 1425468999343

      [3] command: list-tenants-by-partial-domain -d frank
      [4] output
      Tenants found:
      ----------------------------------------------------

      tenantDomain tenantID active email createdDate

      ----------------------------------------------------

      frank.com 1 false foo@bar.com 1425468130532

      ----------------------------------------------------

      franklin.com 2 true foo@bar.com 1425468999343

      ----------------------------------------------------

      [5]
      Tenants:
      -----------------------------------------------------------------------

      Domain Tenant ID Email State Created Date

      -----------------------------------------------------------------------

      frank.com 1 foo@bar.com Active Wed Mar 04 17:06:39 IST 2015

      -----------------------------------------------------------------------

      Attachments

        Activity

          People

            dinithis Dinithi De SIlva
            shavindri Shavindri Dissanayake
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: