Update DateTimePicker.js

Fixed bug when parsing the following datetime format: "MM-dd-yyyy HH:mm:ss". -1 was being done to the day instead of the month.