Skip to content

Commit

Permalink
Merge pull request #20 from AdamBCo/patch-1
Browse files Browse the repository at this point in the history
Addressed Deprecated Warning
  • Loading branch information
hons82 committed Feb 2, 2015
2 parents b5d7862 + e44ac75 commit 8c8fe45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion THCalendarDatePicker/THDatePickerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
_calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
_calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSCalendarIdentifierGregorian];
_allowClearDate = NO;
_allowSelectionOfSelectedDate = NO;
_clearAsToday = NO;
Expand Down

0 comments on commit 8c8fe45

Please sign in to comment.