Sort not working...Date formatter problems outside US


#1

For people having problems getting the posts to show sorted, you may have a problem with the NSDateFormatter.

It did cost me an hour but I found out that if your device is not set to region US then the NSDateFormatter may not work.

This was the solution for me:

Since the pubDate strings are in US format there is no need for the NSDateFormatter to use the region setting of the device.

Hope this helps others.