xdan / datetimepicker

jQuery Plugin Date and Time Picker
https://xdsoft.net/jqplugins/datetimepicker/
MIT License
3.5k stars 1.52k forks source link

Not working on IE 11.0 #423

Open maulikadhia opened 8 years ago

maulikadhia commented 8 years ago

On IE 11.0 I get the following error: Expected identifier, string or number. This is primarily due to additional commas in the jQuery.datetimepicker.full.js

dayOfWeek: [
                "Dumengia", "Glindesdi", "Mardi", "Mesemna", "Gievgia", "Venderdi", "Sonda"
            ]
        }, // This is the comma that is creating an issue
    },

If you remove the commas the datetimepicker loads but it doesnt give the selected date on the input value. Could you please help?

PhiLhoSoft commented 8 years ago

Are you using IE in IE8 mode? All modern browsers (after IE8 I think) accept trailing commas in JavaScript! And IE8 is no longer supported (by jQuery and this library).