Skip to content

Commit e7eea00

Browse files
committed
Fix error message typo
1 parent 9962bec commit e7eea00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaEvents/Utils/DateWrappers.swift

+1-1
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)