|
|
|
@ -421,6 +421,14 @@ window.addEventListener('load', function (e) {
|
|
|
|
|
var innerPre = document.createElement('pre') |
|
|
|
|
innerP.appendChild(innerPre) |
|
|
|
|
innerPre.textContent = `${departureOption.getDate().toString().padStart(2, '0')}.${(departureOption.getMonth() + 1).toString().padStart(2, '0')}.${departureOption.getFullYear().toString().padStart(4, '0')}` |
|
|
|
|
var departureOptionMidday = new Date(departureOption.getTime()) |
|
|
|
|
departureOptionMidday.setHours(12, 0, 0, 0) |
|
|
|
|
var todayMidday = new Date() |
|
|
|
|
todayMidday.setHours(12, 0, 0, 0) |
|
|
|
|
if (departureOptionMidday.getTime() == todayMidday.getTime()) { |
|
|
|
|
innerPre.textContent += ' (today)' |
|
|
|
|
suggestionLi.focus() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
document.querySelector('.csk').textContent = 'Select' |
|
|
|
|