Created
October 2, 2021 15:08
-
-
Save huntercmeyer/bc197dd13a8789e8b3ff00fafcc6789c 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
import Foundation | |
extension DateFormatter { | |
static var full: DateFormatter { | |
let formatter = DateFormatter() | |
formatter.timeStyle = .full | |
formatter.dateStyle = .long | |
return formatter | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment