Skip to content

Commit 49e5d1e

Browse files
committed
adding 'day' and 'month' support
1 parent d8b2112 commit 49e5d1e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

command.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ function insertFileHeaderComment(picked_template){
6161
'date': date.toDateString(),
6262
'time': date.toLocaleTimeString(),
6363
'time24h': date.getHours()+':'+date.getMinutes()+':'+date.getSeconds(),
64+
'day': date.getDate(),
65+
'month': date.getMonth()+1,
6466
'year': date.getFullYear(),
6567
'company': 'Your Company'
6668
};

0 commit comments

Comments
 (0)