From d733a1b445db1e70f55b3cbac4786d81486bc34a Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 7 Aug 2018 03:20:26 +0900 Subject: i18n --- src/client/app/common/scripts/date-stringify.ts | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/client/app/common/scripts/date-stringify.ts (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 deleted file mode 100644 index 2b8e525567..0000000000 --- a/src/client/app/common/scripts/date-stringify.ts +++ /dev/null @@ -1,13 +0,0 @@ -export default date => { - if (typeof date == 'string') date = new Date(date); - return ( - date.getFullYear() + '%i18n:common.date.full-year%' + - (date.getMonth() + 1) + '%i18n:common.date.month%' + - date.getDate() + '%i18n:common.date.day%' + - ' ' + - date.getHours() + '%i18n:common.date.hours%' + - date.getMinutes() + '%i18n:common.date.minutes%' + - ' ' + - `(${['日', '月', '火', '水', '木', '金', '土'][date.getDay()]})` - ); -}; -- cgit v1.2.3-freya