Skip to content

Commit

Permalink
SR-5591: Date formatter now works on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
spevans committed Nov 3, 2018
1 parent 8ae7203 commit b0c57a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions TestFoundation/TestDateFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ class TestDateFormatter: XCTestCase {
// en_US EEEE, MMMM d, y 'at' h:mm:ss a zzzz Friday, December 25, 2015 at 12:00:00 AM Greenwich Mean Time
func test_dateStyleFull() {

#if os(macOS) // timestyle .full is currently broken on Linux, the timezone should be 'Greenwich Mean Time' not 'GMT'
let timestamps: [TimeInterval:String] = [
// Negative time offsets are still buggy on macOS
-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",
Expand All @@ -218,7 +217,6 @@ class TestDateFormatter: XCTestCase {

XCTAssertEqual(sf, stringResult)
}
#endif
}

// Custom Style
Expand Down

0 comments on commit b0c57a3

Please sign in to comment.