bootstrap-datepicker
bootstrap-datepicker copied to clipboard
Fix uneven behavior for maxViewMode and minViewMode
I noticed that maxViewMode and minViewMode have different behaviors based on the type of the variable that you passed it.
While maxViewMode works perfectly with a string, minView really wants an integer, probably it as to do with the checks that is does below, at line 1233.
| Q | A |
|---|---|
| Bug fix? | yes |
| Related tickets | https://github.com/uxsolutions/bootstrap-datepicker/issues/2602 |
| License | MIT |