Contents

shareup/precise-iso-8601-date-formatter

`PreciseISO8601DateFormatter` is a precise and specific date formatter. Apple's built-in [DateFormatter](https://developer.apple.com/documentation/foundation/dateformatter) and [ISO8601DateFormatter](https://developer.apple.com/documentation/foundation/iso8601dateformatter) are o

Usage

let formatter = PreciseISO8601DateFormatter()

let date = formatter.date(from: "2021-02-03T12:48:00.000123Z")
let string = formatter.string(from: date) // "2021-02-03T12:48:00.000123Z"

Installation

To use PreciseISO8601DateFormatter with the Swift Package Manager, add a dependency to your Package.swift file:

let package = Package(
  dependencies: [
    .package(url: "https://github.com/shareup/precise-iso-8601-date-formatter.git", from: "1.0.2")
  ]
)

License

The license for PreciseISO8601DateFormatter is the standard MIT licence. You can find it in the LICENSE file.

Package Metadata

Repository: shareup/precise-iso-8601-date-formatter

Default branch: main

README: README.md