Skip to content

Commit 0a8d7b9

Browse files
committed
Fix error message typo
1 parent 2061b79 commit 0a8d7b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaEvents/Utils/DateWrappers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public struct DateTimeCoding: Decodable {
8383
let dateString = try container.decode(String.self)
8484
guard let date = Self.dateFormatter.date(from: dateString) else {
8585
throw DecodingError.dataCorruptedError(in: container, debugDescription:
86-
"Expected date to be in iso8601 date format with fractional seconds, but `\(dateString)` does not forfill format")
86+
"Expected date to be in date-time format with fractional seconds, but `\(dateString)` does not forfill format")
8787
}
8888
self.wrappedValue = date
8989
}

0 commit comments

Comments
 (0)