1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

Specify RFC3339 and not ISO-8601 data and time (#1419)

MinIO uses RFC3339 data and time formatting and not ISO-8601. RFC3339
requires that there be a `T` as part of the data and time separation.
ISO-8601 allows a space.
The documentation also currently refers to using a date in the batch
framework; this should be a RFC3339 date and time.
e.g.
```
mc batch start play expire.yaml
mc: <ERROR> Unable to start job. We encountered an internal error, please try again.: cause(parsing time "2006-01-02 15:04:05.00Z" as "2006-01-02T15:04:05Z07:00": cannot parse " 15:04:05.00Z" as "T").

```

---------

Co-authored-by: Ravind Kumar <ravindk89@gmail.com>
This commit is contained in:
Allan Roger Reid
2025-02-18 11:25:57 -08:00
committed by GitHub
parent 9b4839fdd0
commit 2208441e31
9 changed files with 14 additions and 14 deletions

View File

@ -84,7 +84,7 @@ MinIO returns an ``AssumeRoleWithCustomTokenResult`` object, where the ``Assumed
- ``AccessKeyId`` - The access key applications use for authentication.
- ``SecretKeyId`` - The secret key applications use for authentication.
- ``Expiration`` - The ISO-8601 date-time after which the credentials expire.
- ``Expiration`` - The :rfc:`RFC3339 <3339>` date and time after which the credentials expire.
- ``SessionToken`` - The session token applications use for authentication. Some
SDKs may require this field when using temporary credentials.

View File

@ -133,7 +133,7 @@ credentials generated by MinIO:
- ``AccessKeyId`` - The access key applications use for authentication.
- ``SecretKeyId`` - The secret key applications use for authentication.
- ``Expiration`` - The ISO-8601 date-time after which the credentials expire.
- ``Expiration`` - The :rfc:`RFC3339 <3339>` date and time after which the credentials expire.
- ``SessionToken`` - The session token applications use for authentication. Some
SDKs may require this field when using temporary credentials.

View File

@ -143,7 +143,7 @@ credentials generated by MinIO:
- ``AccessKeyId`` - The access key applications use for authentication.
- ``SecretKeyId`` - The secret key applications use for authentication.
- ``Expiration`` - The ISO-8601 date-time after which the credentials expire.
- ``Expiration`` - The :rfc:`RFC3339 <3339>` date and time after which the credentials expire.
- ``SessionToken`` - The session token applications use for authentication. Some
SDKs may require this field when using temporary credentials.