|
|
|
|
|
|
|
|
var dateStr = event.currentTarget.getAttribute('data-distribution-date') ; |
|
|
var dateStr = event.currentTarget.getAttribute('data-distribution-date') ; |
|
|
var arr = dateStr.split(/[- :]/), |
|
|
var arr = dateStr.split(/[- :]/), |
|
|
dateObject = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]); |
|
|
dateObject = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]); |
|
|
|
|
|
console.log(dateObject) ; |
|
|
//var dateObject = new Date(dateStr) ; |
|
|
//var dateObject = new Date(dateStr) ; |
|
|
if(this.isAvailableDate(dateObject)) { |
|
|
if(this.isAvailableDate(dateObject)) { |
|
|
this.dayClickEvent(dateObject) ; |
|
|
this.dayClickEvent(dateObject) ; |