Closed GoogleCodeExporter closed 9 years ago
This should be fixed now in the source, related to issue #16
Original comment by k.leneau@gmail.com
on 19 Jul 2009 at 7:14
I've downloaded the latest version from svn, changed Line 56 in Index.html to
alert(date.toLocaleDateString()); and it still isn't working correctly.
Original comment by kyle.mcn...@gmail.com
on 30 Jul 2009 at 4:14
this is because date overrides till end. so it will alert the last day rendered.
Original comment by egidi...@gmail.com
on 5 Aug 2009 at 7:00
[deleted comment]
[deleted comment]
*** VER 1.3.1 ***
*** POTENTIAL SOLUTION ***
*** is to return element id ( $(this) ) on function(s), pushing its
accessibility
to a new level ***
Line 327:
var dateLink = jQuery('<div class="DateLabel"><a href="">' +
currentDate.getDate() +
'</a></div>').click(function(e) {
//defaults.onDayLinkClick(currentDate.clone());//original
defaults.onDayLinkClick($(this)); //added as solution
e.stopPropagation();
});
then on options:
onDayLinkClick: function(elem) {
var correctdate =$(elem).parent('td').attr('date');
alert(new Date(correctdate));
return false ;
}
Original comment by egidi...@gmail.com
on 5 Aug 2009 at 8:27
Original issue reported on code.google.com by
drgenejones
on 19 Jul 2009 at 6:06