anvilresearch / connect-cli

CLI for Anvil Connect
MIT License
3 stars 11 forks source link

Unformatted dates #71

Open adalinesimonian opened 9 years ago

adalinesimonian commented 9 years ago

Because the output is now sent out raw as JSON, dates are no longer formatted, effectively making them unreadable without a calculator or using the date command.

For example, with client:info

{
  "redirect_uris": [
    "https://app.example.com"
  ],
  "response_types": [
    "id_token token"
  ],
  "grant_types": [
    "implicit"
  ],
  "application_type": "web",
  "client_name": "Example App",
  "client_uri": "https://app.example.com",
  "token_endpoint_auth_method": "client_secret_basic",
  "default_max_age": 3600,
  "post_logout_redirect_uris": [
    "https://app.example.com"
  ],
  "client_secret": "0123456789abcdef0123",
  "trusted": true,
  "scopes": [],
  "_id": "01234567-89ab-cdef-0123-456789abcdef",
  "created": 1445452220355,
  "modified": 1445452220355
}