We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b2b02 commit a9a0c3dCopy full SHA for a9a0c3d
src/planet_auth_utils/commands/cli/jwt_cmd.py
@@ -53,7 +53,7 @@ def __json_pretty_dumps__(self):
53
def _human_readable_jwt_claim(d):
54
for key, value in list(d.items()):
55
if key in ["iat", "exp", "nbf"] and isinstance(value, int):
56
- # UNIX Time stamps in ISO format
+ # UNIX Time stamps in ISO format, with annotations.
57
fmt_time = time.strftime("%Y-%m-%dT%H:%M:%S%z", time.localtime(value))
58
if (key == "exp") and (d[key] < time.time()):
59
fmt_time += " (Expired)"
0 commit comments