-
Notifications
You must be signed in to change notification settings - Fork 887
feat(licenses): show license_expires time as rfc3339 date #7687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This resolved the original issue where the date was not human readable. Output format was an extra suggestion that IMO should default to table
unless we explicitly request it to be in json with --format json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This resolved the original issue where the date was not human readable. Output format was an extra suggestion that IMO should default to table unless we explicitly request it to be in json with --format json
It is tricky as in theory, it would be a breaking change. Not sure if something consumes the output, but maybe it is worth changing to a default table format (separate PR please).
BTW Mark also reported this problem:
It also seems like a security risk that a Salesforce identifier is exposed in this file.
I've created a new issue to track it: #7697 |
@mtojek there is no security risk accordingly to this comment: #4313 (comment) :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The final result looks good to me.
You may address @mtojek comments on code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
We shouldn't worry about minor breaking changes right now, especially in interfaces that are unlikely to be automated around. |
Show the
license_expires
field as a human-readable date, as discussed on #4313 .license_expires
field, should we apply the same logic to other fields?@matifali wdyt of receiving a new
--format
parameter to choose betweentable
andjson
?Fixes #4313