Bugfix: S3 time precision issue fixed (#3182)
* Bugfix: S3 time precision issue fixed * Bugfix: S3 time precision issue fixed * s3 timeformat fix * Quickfix S3 timefix
This commit is contained in:
parent
2504a398f9
commit
c166d97a97
2 changed files with 9 additions and 3 deletions
|
|
@ -190,6 +190,12 @@ def iso_8601_datetime_without_milliseconds(datetime):
|
|||
return None if datetime is None else datetime.strftime("%Y-%m-%dT%H:%M:%S") + "Z"
|
||||
|
||||
|
||||
def iso_8601_datetime_without_milliseconds_s3(datetime):
|
||||
return (
|
||||
None if datetime is None else datetime.strftime("%Y-%m-%dT%H:%M:%S.000") + "Z"
|
||||
)
|
||||
|
||||
|
||||
RFC1123 = "%a, %d %b %Y %H:%M:%S GMT"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue