From ab461171380559c357ec7a6f74b1f52a9e882f86 Mon Sep 17 00:00:00 2001 From: shibafu Date: Sun, 4 Aug 2019 01:33:54 +0900 Subject: [PATCH] =?UTF-8?q?=E5=AF=BE=E8=B1=A1=E5=B9=B4=E3=81=AE=E8=A1=A8?= =?UTF-8?q?=E8=A8=98=E3=82=92=20yyyy=E5=B9=B4=20=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/user/stats.js | 2 +- resources/views/user/stats.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/user/stats.js b/resources/assets/js/user/stats.js index b01625b..25e4895 100644 --- a/resources/assets/js/user/stats.js +++ b/resources/assets/js/user/stats.js @@ -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) { diff --git a/resources/views/user/stats.blade.php b/resources/views/user/stats.blade.php index 37492f8..d202234 100644 --- a/resources/views/user/stats.blade.php +++ b/resources/views/user/stats.blade.php @@ -19,7 +19,7 @@
月間チェックイン回数
-
+