涨停分析选中修改
This commit is contained in:
@@ -460,7 +460,7 @@
|
||||
// 获取当前日期,并减去一天
|
||||
const now = new Date()
|
||||
// 核心修改:将日期减去 1 天(1 天 = 24 * 60 * 60 * 1000 毫秒)
|
||||
now.setTime(now.getTime() - 24 * 60 * 60 * 1000)
|
||||
// now.setTime(now.getTime() - 24 * 60 * 60 * 1000)
|
||||
|
||||
const year = now.getFullYear()
|
||||
const month = (now.getMonth() + 1).toString().padStart(2, '0')
|
||||
|
||||
Reference in New Issue
Block a user