We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e9d72 commit 76cfeffCopy full SHA for 76cfeff
Sources/SmithyReadWrite/WritingClosure.swift
@@ -47,7 +47,7 @@ public func listWritingClosure<T, Writer: SmithyWriter>(
47
}
48
49
@_spi(SmithyReadWrite)
50
-public func timestampWritingClosure<Writer: SmithyWriter>(format: TimestampFormat) -> WritingClosure<Date, Writer> {
+public func timestampWritingClosure<Writer: SmithyWriter>(format: TimestampFormat) -> WritingClosure<Date?, Writer> {
51
return { date, writer in
52
try writer.writeTimestamp(date, format: format)
53
0 commit comments