Lowercase am/pm using NSDateFormatter Swift 3
If you’re wondering how to make the AM and PM lowercase when using the DateFormatter or NSDateFormatter, you can set the properties formatter.amSymbol = "am"
and formatter.pmSymbol = "pm"
. Hopefully this quick little snippet helped someone!
Happy Coding.
And if you haven't already, you should follow me on twitter!
Follow @zackperdue