summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/date-stringify.ls
diff options
context:
space:
mode:
authorsyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-02-18 18:12:04 +0900
committerGitHub <noreply@github.com>2017-02-18 18:12:04 +0900
commit5305f3dde2b2ef2e36b09548452ca5c1a547092a (patch)
tree9961c66c4de99d5a4bf590f378e0474df28fef15 /src/web/app/common/scripts/date-stringify.ls
parent壁紙廃止 (diff)
parentRemove unused dependency (diff)
downloadmisskey-5305f3dde2b2ef2e36b09548452ca5c1a547092a.tar.gz
misskey-5305f3dde2b2ef2e36b09548452ca5c1a547092a.tar.bz2
misskey-5305f3dde2b2ef2e36b09548452ca5c1a547092a.zip
Merge pull request #179 from syuilo/no-ls
No ls
Diffstat (limited to 'src/web/app/common/scripts/date-stringify.ls')
-rw-r--r--src/web/app/common/scripts/date-stringify.ls14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/web/app/common/scripts/date-stringify.ls b/src/web/app/common/scripts/date-stringify.ls
deleted file mode 100644
index 7e85192ce7..0000000000
--- a/src/web/app/common/scripts/date-stringify.ls
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = (date) ->
- if typeof date == \string then date = new Date date
-
- text =
- date.get-full-year! + \年 +
- date.get-month! + 1 + \月 +
- date.get-date! + \日 +
- ' ' +
- date.get-hours! + \時 +
- date.get-minutes! + \分 +
- ' ' +
- "(#{[\日 \月 \火 \水 \木 \金 \土][date.get-day!]})"
-
- return text