Created
February 20, 2019 21:28
-
-
Save polac24/0a6fceafd57561a0b9d93244ed24676f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let RFC3339DateFormatter = with(DateFormatter()) { | |
$0.locale = Locale(identifier: "en_US_POSIX") | |
$0.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZZZZZ" | |
$0.timeZone = TimeZone(secondsFromGMT: 0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment