|
|
|
@ -948,10 +948,12 @@ |
|
|
|
|
|
|
|
|
|
|
|
console.log('data', i, now.getDay(), weekday, now, moment(now).format("D MMM")); |
|
|
|
console.log('data', i, now.getDay(), weekday, now, moment(now).format("D MMM")); |
|
|
|
|
|
|
|
|
|
|
|
options.push({ |
|
|
|
if(schedule[weekday]) { |
|
|
|
title: `${schedule[weekday]} (${this.weekdays[weekday]}, ${moment(now).format("D MMM")})`, |
|
|
|
options.push({ |
|
|
|
value: moment(now).format('YYYY-MM-DD') |
|
|
|
title: `${schedule[weekday]} (${this.weekdays[weekday]}, ${moment(now).format("D MMM")})`, |
|
|
|
}); |
|
|
|
value: moment(now).format('YYYY-MM-DD') |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
console.log('options',options); |
|
|
|
console.log('options',options); |
|
|
|
|