Skip to content

Commit

Permalink
Fix a compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMage committed Dec 5, 2017
1 parent 104d754 commit 7ab4acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DateRangePickerDemo/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ViewController: NSViewController {

restrictedToThisYearPickerView?.minDate = Date().drp_beginning(ofCalendarUnit: .year)
restrictedToThisYearPickerView?.maxDate = Date().drp_end(ofCalendarUnit: .year)
restrictedToThisYearPickerView?.dateRange = .calendarUnit(0, .month)
restrictedToThisYearPickerView?.dateRange = .calendarUnit(0, .month, hourShift: 0)
}

override func viewDidAppear() {
Expand Down

0 comments on commit 7ab4acb

Please sign in to comment.