Skip to content

Commit cc91c32

Browse files
committed
Fix testFormatAsRfc5322
1 parent 404f199 commit cc91c32

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/time/DateTimeFormats.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,12 @@ internal object DateTimeFormats {
107107
dayOfWeek(DayOfWeekNames.ENGLISH_ABBREVIATED)
108108
chars(", ")
109109

110-
dayOfMonth(padding = Padding.NONE)
110+
alternativeParsing({
111+
dayOfMonth(padding = Padding.NONE)
112+
}) {
113+
dayOfMonth()
114+
}
115+
111116
char(' ')
112117
monthName(MonthNames.ENGLISH_ABBREVIATED)
113118
char(' ')

0 commit comments

Comments
 (0)