Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit 9fe005c

Browse files
committed
getMonth() 从 0 开始,所以 +1 就好了,+2 就多续了一个月
1 parent cea5ea1 commit 9fe005c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

game/game.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40779,7 +40779,7 @@
4077940779
nodename2.setBackground(video.name2,'character');
4078040780
}
4078140781
var date=new Date(video.time);
40782-
var str=date.getFullYear()+'.'+(date.getMonth()+2)+'.'+(date.getDay()+1)+' '+
40782+
var str=date.getFullYear()+'.'+(date.getMonth()+1)+'.'+(date.getDay()+1)+' '+
4078340783
date.getHours()+':';
4078440784
var minutes=date.getMinutes();
4078540785
if(minutes<10){

0 commit comments

Comments
 (0)