File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Tests/FoundationEssentialsTests Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -542,6 +542,7 @@ private struct GregorianCalendarRecurrenceRuleTests {
542542
543543 @Test func yearlyRecurrenceWithWeekNumberExpansion( ) {
544544 var calendar = Calendar ( identifier: . gregorian)
545+ calendar. timeZone = . gmt
545546 calendar. firstWeekday = 2 // Week starts on Monday
546547 calendar. minimumDaysInFirstWeek = 4
547548
@@ -569,6 +570,7 @@ private struct GregorianCalendarRecurrenceRuleTests {
569570
570571 @Test func yearlyRecurrenceWithWeekNumberExpansionCountingBack( ) {
571572 var calendar = Calendar ( identifier: . gregorian)
573+ calendar. timeZone = . gmt
572574 calendar. firstWeekday = 2 // Week starts on Monday
573575
574576 let start = Date ( timeIntervalSince1970: 1704117600.0 ) // 2024-01-01T14:00:00-0000
You can’t perform that action at this time.
0 commit comments