Datepicker magic date
Datepicker magic date
I just found out that Datepicker hates 31st of March date if
configured to use it as a maxDate. It becomes unselectable and I
couldn't find a workaround how to get rid of such behaviour.
Code to reporoduce the bug:
<script type="text/javascript">
var magicDate = new Date(2009,2,31);
$(document).ready(function(){
$(".calendar").datepicker({maxDate:magicDate})
});
</script>
<div class="calendar"></div>
I'm using latest stable release (1.5.3 version). Switching to 1.6rc6
is not an option since a couple of bugs there break our application
flow.
Any ideas?
Jura Khrapunov