diff options
| author | syuilo⭐️ <Syuilotan@yahoo.co.jp> | 2017-02-18 18:12:04 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-18 18:12:04 +0900 |
| commit | 5305f3dde2b2ef2e36b09548452ca5c1a547092a (patch) | |
| tree | 9961c66c4de99d5a4bf590f378e0474df28fef15 /src/web/app/common/scripts/date-stringify.ls | |
| parent | 壁紙廃止 (diff) | |
| parent | Remove unused dependency (diff) | |
| download | misskey-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.ls | 14 |
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 |