amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.01k forks source link

Fixed minor typo in date.html #1001

Closed pawelad closed 6 years ago

pawelad commented 7 years ago

Fixed minor typo visible here

NOTE: months in a JavaScript Date object are zero-indexed. Meaning, new Date(2015, 3, 20) is 20 April, 2016.

The year is different - It should be Date(2016, 3, 20) (or is 20 April, 2015.) instead.