Created
April 30, 2018 09:18
-
-
Save ravitripathi/e0d6abd55bac24a9484a3dfbac981058 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
var formatter = DateFormatter () | |
formatter.timeStyle = "hh mm" | |
//Instead use this: | |
var formatter = DateFormatter () | |
formatter.timeStyle = .shortStyle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment