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

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

No files matched your search

+1 -1
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) {