From 6f6723e1c2acd902908a4e0fe22cc8915c21017b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Feb 2017 10:52:51 +0900 Subject: :v: --- src/web/app/common/scripts/date-stringify.ls | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/web/app/common/scripts/date-stringify.ls (limited to 'src/web/app/common/scripts/date-stringify.ls') 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 -- cgit v1.2.3-freya