Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

$.datepicker.parseDate("dd/mm/yy","10/10/2010"); not cuasing an Exception?

Tags:

jquery-ui

$.datepicker.parseDate("dd/mm/yy","10/10/2010");

Why this not causing an Exception?

like image 352
Kuttan Sujith Avatar asked Dec 22 '22 21:12

Kuttan Sujith


1 Answers

Everything looks fine to me. You do know that yy represents a four digit year despite being only two characters long, right?

like image 158
Matti Virkkunen Avatar answered Dec 26 '22 21:12

Matti Virkkunen