date_input
date_input copied to clipboard
two bug
i have meet two bugs:
- $.browser.msie is undefined. this is because of jquery don't support msie from 1.9 and i fixed.
- Uncaught Error: Syntax error, unrecognized expression: td[date=19 Mar 2014]
have no idea..
me too..
$.browser property is removed in jQuery 1.9+ (http://api.jquery.com/jquery.browser/)
Add this small plugin to get rid of the error: https://github.com/gabceb/jquery-browser-plugin
Regarding 2 mistake:
you need to change next lines:
line 207:
if (matches = string.match(/^(\d{1,2}) ([^\s]+) (\d{4,4})$/)) {
replace it with:
if (matches = string.match(/^(\d{1,2}) (\d{1,2}) (\d{4,4})$/)) {
and line 215:
return date.getDate() + " " + this.short_month_names[date.getMonth()] + " " + date.getFullYear();
replace it with:
return date.getDate() + "-" + date.getMonth() + "-" + date.getFullYear();