Min and max dates are both optional and any previous or later dates will become grayed out / deactivated (including the today button if it is outside of the selectable range)
I added a clone() onto some of the date manipulations as moment dates are mutable and thus we should clone them if we may potentially not want the actual selected date to change sometimes when navigating around between months or years
Trying to navigate past the min or max dates will set the selected date to the min or max possible if necessary
Let me know what you think and if there are any changes or additions you'd like :)
Some things to note:
Let me know what you think and if there are any changes or additions you'd like :)