support iOS 5 for parse date