From 6c47bf5b76e1d8538d399c510aabcb7eeeb5729a Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 19 Dec 2018 01:10:53 +0900 Subject: [PATCH] [Client] Resolve #3662 --- src/client/app/common/views/components/time.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/client/app/common/views/components/time.vue b/src/client/app/common/views/components/time.vue index 84f701469..d064b7820 100644 --- a/src/client/app/common/views/components/time.vue +++ b/src/client/app/common/views/components/time.vue @@ -33,14 +33,7 @@ export default Vue.extend({ return typeof this.time == 'string' ? new Date(this.time) : this.time; }, absolute(): string { - const time = this._time; - return ( - time.getFullYear() + '年' + - (time.getMonth() + 1) + '月' + - time.getDate() + '日' + - ' ' + - time.getHours() + '時' + - time.getMinutes() + '分'); + return this._time.toLocaleString(); }, relative(): string { const time = this._time;