summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/date-stringify.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts/date-stringify.js')
-rw-r--r--src/web/app/common/scripts/date-stringify.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/web/app/common/scripts/date-stringify.js b/src/web/app/common/scripts/date-stringify.js
deleted file mode 100644
index e51de8833d..0000000000
--- a/src/web/app/common/scripts/date-stringify.js
+++ /dev/null
@@ -1,13 +0,0 @@
-export default date => {
- if (typeof date == 'string') date = new Date(date);
- return (
- date.getFullYear() + '年' +
- (date.getMonth() + 1) + '月' +
- date.getDate() + '日' +
- ' ' +
- date.getHours() + '時' +
- date.getMinutes() + '分' +
- ' ' +
- `(${['日', '月', '火', '水', '木', '金', '土'][date.getDay()]})`
- );
-};