mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -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",
|
||||
EventSource: "aws:s3",
|
||||
AwsRegion: region,
|
||||
EventTime: tnow.Format(iso8601Format),
|
||||
EventTime: tnow.Format(timeFormatAMZ),
|
||||
EventName: event.Type.String(),
|
||||
UserIdentity: defaultIdentity(),
|
||||
RequestParameters: event.ReqParams,
|
||||
|
Loading…
Reference in New Issue
Block a user