summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/date-stringify.ls
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-18 10:52:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-18 10:52:51 +0900
commit6f6723e1c2acd902908a4e0fe22cc8915c21017b (patch)
tree823feeba57708f5d237b2c592a739c80d172acf4 /src/web/app/common/scripts/date-stringify.ls
parentMerge branch 'master' into no-ls (diff)
downloadsharkey-6f6723e1c2acd902908a4e0fe22cc8915c21017b.tar.gz
sharkey-6f6723e1c2acd902908a4e0fe22cc8915c21017b.tar.bz2
sharkey-6f6723e1c2acd902908a4e0fe22cc8915c21017b.zip
:v:
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