対象年の表記を yyyy年 にした
This commit is contained in:
parent
3c2fec21a0
commit
ab46117138
2
resources/assets/js/user/stats.js
vendored
2
resources/assets/js/user/stats.js
vendored
@ -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) {
|
||||
|
@ -19,7 +19,7 @@
|
||||
<div class="col-12 col-lg-6 d-flex align-items-center">
|
||||
<h5 class="my-0">月間チェックイン回数</h5>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6">
|
||||
<div class="col-12 col-lg-6 mt-2 mt-lg-0">
|
||||
<select id="monthly-term" class="form-control"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user