Created
February 28, 2019 09:30
-
-
Save alvaroroyo/e2ea8e55a60c7db603bdc909d4b47789 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
extension DateFormatter { | |
static let bornDate: DateFormatter = { | |
let formatter = DateFormatter() | |
formatter.dateFormat = "dd/MM/yyyy HH:mm" | |
return formatter | |
}() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment