We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f985a1 commit 99b30c9Copy full SHA for 99b30c9
renew.user.js
@@ -88,7 +88,7 @@
88
*/
89
if (location.pathname.startsWith('/xapanel/xvps/index')) {
90
// 计算明天的日期,格式为 YYYY-MM-DD (瑞典时区格式)
91
- const tomorrow = new Date(Date.now() + 86400000).toLocaleDateString('sv');
+ const tomorrow = new Date(Date.now() + 86400000).toLocaleDateString('sv', { timeZone: 'Asia/Tokyo' });
92
const expireDate = document.querySelector('tr:has(.freeServerIco) .contract__term')?.textContent;
93
94
console.log(`[VPS续期脚本] 检查到期时间...`);
0 commit comments