Merge pull request #2 from morishin/bump-version-to-1.0.1 Bump version to 1.0.1
Merge pull request #2 from morishin/bump-version-to-1.0.1
Bump version to 1.0.1
DateFormatter conforming to RFC3339
Demo.playground
import RFC3339DateFormatter // with T, nanosecond RFC3339DateFormatter.date(from: "2017-01-01T00:00:00.000Z") RFC3339DateFormatter.date(from: "2017-01-01T09:00:00.000+09:00") // with T RFC3339DateFormatter.date(from: "2017-01-01T00:00:00Z") RFC3339DateFormatter.date(from: "2017-01-01T09:00:00+09:00") // with ` `, nanosecond RFC3339DateFormatter.date(from: "2017-01-01 00:00:00.000Z") RFC3339DateFormatter.date(from: "2017-01-01 09:00:00.000+09:00") // with ` ` RFC3339DateFormatter.date(from: "2017-01-01 00:00:00Z") RFC3339DateFormatter.date(from: "2017-01-01 09:00:00+09:00") // different number of digits of nanosecond RFC3339DateFormatter.date(from: "2017-01-01 00:00:00.0Z")
import RFC3339DateFormatter RFC3339DateFormatter.string(from: Date()) // "2017-12-01T06:25:11.029Z"
Cartfile
github "morishin/RFC3339DateFormatter"
Podfile
pod 'RFC3339DateFormatter'
MIT
RFC3339DateFormatter
DateFormatter conforming to RFC3339
Usage
Demo.playground
Date from String
Date to String
Installation
Carthage
Cartfile
CocoaPods
Podfile
LICENSE
MIT