From 7b33c63f78eb87ce80fe5ed29af62860384415d9 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Thu, 2 Aug 2018 19:03:31 +0900 Subject: #332 (#2065) --- src/client/app/common/scripts/date-stringify.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/client/app/common/scripts/date-stringify.ts') diff --git a/src/client/app/common/scripts/date-stringify.ts b/src/client/app/common/scripts/date-stringify.ts index e51de8833d..2b8e525567 100644 --- a/src/client/app/common/scripts/date-stringify.ts +++ b/src/client/app/common/scripts/date-stringify.ts @@ -1,12 +1,12 @@ export default date => { if (typeof date == 'string') date = new Date(date); return ( - date.getFullYear() + '年' + - (date.getMonth() + 1) + '月' + - date.getDate() + '日' + + date.getFullYear() + '%i18n:common.date.full-year%' + + (date.getMonth() + 1) + '%i18n:common.date.month%' + + date.getDate() + '%i18n:common.date.day%' + ' ' + - date.getHours() + '時' + - date.getMinutes() + '分' + + date.getHours() + '%i18n:common.date.hours%' + + date.getMinutes() + '%i18n:common.date.minutes%' + ' ' + `(${['日', '月', '火', '水', '木', '金', '土'][date.getDay()]})` ); -- cgit v1.2.3-freya