mirror of
https://github.com/apple/swift-foundation.git
synced 2025-04-20 02:33:25 +08:00
* Add an HTTP format style for both `Date` and `DateComponents`. * Correct the comments to properly use DateComponents type * Use default values instead of crashing when formatting date components with missing or invalid fields * Use 59 seconds instead of 0 for leap second of 60 - this results in being off by only 1 second in this case instead of 59. * Address some review feedback