Hello I encountered strange behavior with javascript date. I show in this example:
var date = new Date(2017, 07, 22);
console.log(date); //22. 8. 2017
console.log(date.toLocaleDateString()) //Tue Aug 22 2017 00:00:00 GMT+0200
Why is month always increment? Is normal behavior or its my problem? Thanks