mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-16 03:33:25 +08:00
fix: 修复在周一当天计算下周一错误依旧为当天 (#2254)
This commit is contained in:
@@ -136,7 +136,7 @@ const getNextMonday4AM = () => {
|
||||
if (currentDay === 1 && now.getHours() < 4) {
|
||||
daysUntilMonday = 0;
|
||||
} else {
|
||||
daysUntilMonday = (8 - currentDay) % 7;
|
||||
daysUntilMonday = 8 - currentDay;
|
||||
}
|
||||
result.setDate(now.getDate() + daysUntilMonday);
|
||||
return result;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "千星奇域每周刷取经验值",
|
||||
"version": "0.2",
|
||||
"version": "0.3",
|
||||
"bgi_version": "0.52.0",
|
||||
"description": "千星奇域每周刷取经验值",
|
||||
"authors": [
|
||||
|
||||
Reference in New Issue
Block a user