Skip to content

Commit b0c57a3

Browse files
committed
SR-5591: Date formatter now works on Linux
1 parent 8ae7203 commit b0c57a3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

TestFoundation/TestDateFormatter.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ class TestDateFormatter: XCTestCase {
191191
// en_US EEEE, MMMM d, y 'at' h:mm:ss a zzzz Friday, December 25, 2015 at 12:00:00 AM Greenwich Mean Time
192192
func test_dateStyleFull() {
193193

194-
#if os(macOS) // timestyle .full is currently broken on Linux, the timezone should be 'Greenwich Mean Time' not 'GMT'
195194
let timestamps: [TimeInterval:String] = [
196195
// Negative time offsets are still buggy on macOS
197196
-31536000 : "Wednesday, January 1, 1969 at 12:00:00 AM GMT", 0.0 : "Thursday, January 1, 1970 at 12:00:00 AM Greenwich Mean Time",
@@ -218,7 +217,6 @@ class TestDateFormatter: XCTestCase {
218217

219218
XCTAssertEqual(sf, stringResult)
220219
}
221-
#endif
222220
}
223221

224222
// Custom Style

0 commit comments

Comments
 (0)