Skip to content

Commit 183d842

Browse files
committed
test individualFields() 155519959
1 parent c5f4563 commit 183d842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FoundationInternationalizationTests/Formatting/DateFormatStyleTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ private struct DateAttributedFormatStyleTests {
635635
}
636636

637637
@Test func individualFields() throws {
638-
let baseStyle = Date.FormatStyle(locale: enUSLocale, timeZone: gmtTimeZone)
638+
let baseStyle = Date.FormatStyle(locale: enUSLocale, calendar: Calendar(identifier: .gregorian), timeZone: gmtTimeZone)
639639
// dateFormatter.date(from: "2021-04-12 15:04:32")!
640640
let date = Date(timeIntervalSinceReferenceDate: 639932672.0)
641641
let expectations: [Date.FormatStyle : [Segment]] = [

0 commit comments

Comments
 (0)