blob: 9aa8b3e6c5c0a2396ad20aa7e29085f12a9da25f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
module.exports = (date) ->
if typeof date == \string then date = new Date date
text =
date.get-full-year! + \年 +
date.get-month! + \月 +
date.get-date! + \日 +
' ' +
date.get-hours! + \時 +
date.get-minutes! + \分 +
' ' +
"(#{[\日 \月 \火 \水 \木 \金 \土][date.get-day!]})"
return text
|