This is my code:
let currentDate = NSDate()
let usDateFormat = NSDateFormatter()
usDateFormat.dateFormat = NSDateFormatter.dateFormatFromTemplate("d MMMM y", options: 0, locale: NSLocale(localeIdentifier: "en-US"))
cmt.date = usDateFormat.stringFromDate(currentDate)
I was expecting to get "15 October 2015", but I got "oktober 15, 2015". The month is in swedish locale.
What have I done wrong? Both locale and format are wrong.