iOS 8 Update

In iOS 8, `NSGregorianCalendar` is deprecated and will be replaced with `NSCalendarIdentifierGregorian`.