update last_used for access keys
This commit is contained in:
parent
2f2d6dc3fe
commit
35fde06381
3 changed files with 26 additions and 4 deletions
|
|
@ -187,7 +187,7 @@ def iso_8601_datetime_with_milliseconds(datetime):
|
|||
|
||||
|
||||
def iso_8601_datetime_without_milliseconds(datetime):
|
||||
return datetime.strftime("%Y-%m-%dT%H:%M:%S") + "Z"
|
||||
return None if datetime is None else datetime.strftime("%Y-%m-%dT%H:%M:%S") + "Z"
|
||||
|
||||
|
||||
RFC1123 = "%a, %d %b %Y %H:%M:%S GMT"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue