mirror of
https://github.com/minio/minio.git
synced 2025-01-26 06:03:17 -05:00
Problem: AWS documentation defines event timestamp as 1970-01-01T00:00:00.000Z (#2440)
While Minio is using 20160814T124605Z (See http://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html) Solution: adhere to AWS documentation
This commit is contained in:
parent
a3592228f5
commit
341171f326
@ -60,7 +60,7 @@ func newNotificationEvent(event eventData) NotificationEvent {
|
|||||||
EventVersion: "2.0",
|
EventVersion: "2.0",
|
||||||
EventSource: "aws:s3",
|
EventSource: "aws:s3",
|
||||||
AwsRegion: region,
|
AwsRegion: region,
|
||||||
EventTime: tnow.Format(iso8601Format),
|
EventTime: tnow.Format(timeFormatAMZ),
|
||||||
EventName: event.Type.String(),
|
EventName: event.Type.String(),
|
||||||
UserIdentity: defaultIdentity(),
|
UserIdentity: defaultIdentity(),
|
||||||
RequestParameters: event.ReqParams,
|
RequestParameters: event.ReqParams,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user