Skip to content

Commit f673dc2

Browse files
committed
Renamed DateTimeCoding to RFC5322DateTimeCoding
1 parent e7eea00 commit f673dc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/AWSLambdaEvents/SES.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public enum SES {
4949
public struct CommonHeaders: Decodable {
5050
public let bcc: [String]?
5151
public let cc: [String]?
52-
@DateTimeCoding public var date: Date
52+
@RFC5322DateTimeCoding public var date: Date
5353
public let from: [String]
5454
public let messageId: String
5555
public let returnPath: String?

Sources/AWSLambdaEvents/Utils/DateWrappers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public struct ISO8601WithFractionalSecondsCoding: Decodable {
7171
}
7272

7373
@propertyWrapper
74-
public struct DateTimeCoding: Decodable {
74+
public struct RFC5322DateTimeCoding: Decodable {
7575
public let wrappedValue: Date
7676

7777
public init(wrappedValue: Date) {

0 commit comments

Comments
 (0)