Skip to content

Instantly share code, notes, and snippets.

@lolocoo
Created March 2, 2014 09:17
Show Gist options
  • Select an option

  • Save lolocoo/9303989 to your computer and use it in GitHub Desktop.

Select an option

Save lolocoo/9303989 to your computer and use it in GitHub Desktop.
if ($.inArray('old', clsName) == 1 || $.inArray('new', clsName) == 1) {
html.push('<td></td>');
} else {
html.push('<td class="'+clsName.join(' ')+'"' + (tooltip ? ' title="'+tooltip+'"' : '') + '>'+prevMonth.getUTCDate() + '</td>');
}
var event_dates = ['2014-03-01','2014-03-02'];
// console.log(prevMonth.getUTCFullYear());
var s = prevMonth.getUTCFullYear() + '/' + prevMonth.getUTCMonth() + '/' + prevMonth.getUTCDate() ;
console.log(s);
// if (
// prevMonth.getUTCFullYear() + '/' +
// date.getUTCMonth() + '/' +
// date.getUTCDate() ){
// cls.push('today');
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment