apple / swift-foundation

The Foundation project
Apache License 2.0
2.29k stars 135 forks source link

FoundationEssentials: drop invalid modification dates #628

Closed compnerd closed 1 month ago

compnerd commented 1 month ago

Follow the expected behaviour to drop invalid modification dates, e.g. +NaN. This matches the semantics that are expected on Unix and avoids a crash due to the initialiser.

compnerd commented 1 month ago

@swift-ci please test