From a997e0f754cd0c0e0af91c153022bde97586824b Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Wed, 22 Feb 2017 16:32:46 +0900
Subject: [PATCH] [Client] Fix bug

---
 src/web/app/common/scripts/date-stringify.js | 10 +++++-----
 src/web/app/common/tags/time.tag             | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/web/app/common/scripts/date-stringify.js b/src/web/app/common/scripts/date-stringify.js
index 48e19704d5..d803587f2c 100644
--- a/src/web/app/common/scripts/date-stringify.js
+++ b/src/web/app/common/scripts/date-stringify.js
@@ -1,12 +1,12 @@
 module.exports = date => {
 	if (typeof date == 'string') date = new Date(date);
 	return (
-		date.getFullYear()  + '年' + 
-		date.getMonth() + 1 + '月' + 
-		date.getDate()      + '日' +
+		date.getFullYear()    + '年' + 
+		(date.getMonth() + 1) + '月' + 
+		date.getDate()        + '日' +
 		' ' +
-		date.getHours()     + '時' + 
-		date.getMinutes()   + '分' + 
+		date.getHours()       + '時' + 
+		date.getMinutes()     + '分' + 
 		' ' +
 		`(${['日', '月', '火', '水', '木', '金', '土'][date.getDay()]})`
 	);
diff --git a/src/web/app/common/tags/time.tag b/src/web/app/common/tags/time.tag
index ad34115f60..b4e6dcdbd3 100644
--- a/src/web/app/common/tags/time.tag
+++ b/src/web/app/common/tags/time.tag
@@ -10,12 +10,12 @@
 		this.tickid = null;
 
 		this.absolute =
-			this.time.getFullYear()  + '年' +
-			this.time.getMonth() + 1 + '月' +
-			this.time.getDate()      + '日' +
+			this.time.getFullYear()    + '年' +
+			(this.time.getMonth() + 1) + '月' +
+			this.time.getDate()        + '日' +
 			' ' +
-			this.time.getHours()     + '時' +
-			this.time.getMinutes()   + '分';
+			this.time.getHours()       + '時' +
+			this.time.getMinutes()     + '分';
 
 		this.on('mount', () => {
 			if (this.mode == 'relative' || this.mode == 'detail') {