Code for formatting dates in Objective-C and Ruby to conform to the Twitter "Developer Display Requirements"