対象年の表記を yyyy年 にした

This commit is contained in:
shibafu
2019-08-04 01:33:54 +09:00
parent 3c2fec21a0
commit ab46117138
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ const monthlyTermSelector = document.getElementById('monthly-term');
for (let year = monthlyTermFrom.getFullYear(); year <= new Date().getFullYear(); year++) {
const opt = document.createElement('option');
opt.setAttribute('value', year);
opt.textContent = year;
opt.textContent = `${year}`;
monthlyTermSelector.insertBefore(opt, monthlyTermSelector.firstChild);
}
if (monthlyTermSelector.children.length) {