diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-07 03:20:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-07 03:20:26 +0900 |
| commit | d733a1b445db1e70f55b3cbac4786d81486bc34a (patch) | |
| tree | 1c4ce7d9623f8bd9d527c6704282ea4a93e14565 /src/client/app/common/scripts/date-stringify.ts | |
| parent | Merge pull request #2107 from syuilo/l10n_master (diff) | |
| download | sharkey-d733a1b445db1e70f55b3cbac4786d81486bc34a.tar.gz sharkey-d733a1b445db1e70f55b3cbac4786d81486bc34a.tar.bz2 sharkey-d733a1b445db1e70f55b3cbac4786d81486bc34a.zip | |
i18n
Diffstat (limited to 'src/client/app/common/scripts/date-stringify.ts')
| -rw-r--r-- | src/client/app/common/scripts/date-stringify.ts | 13 |
1 files changed, 0 insertions, 13 deletions
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()]})` - ); -}; |