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 a526fba commit c4bde00Copy full SHA for c4bde00
Tests/FoundationInternationalizationTests/CalendarTests.swift
@@ -1003,7 +1003,8 @@ private struct CalendarTests {
1003
}
1004
1005
@Test func datesMatching_simpleExample() {
1006
- let cal = Calendar(identifier: .gregorian)
+ var cal = Calendar(identifier: .gregorian)
1007
+ cal.timeZone = .gmt
1008
// August 22, 2022 at 3:02:38 PM PDT
1009
let date = Date(timeIntervalSinceReferenceDate: 682898558.712307)
1010
let next3Minutes = [
0 commit comments