From 9b41074116a0934fea06decc6f5578cb6f41a5fb Mon Sep 17 00:00:00 2001 From: Dragon-Fish Date: Mon, 1 Apr 2024 01:58:06 +0800 Subject: [PATCH] fix: wrong date --- src/plugins/toolbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/toolbox.js b/src/plugins/toolbox.js index a77d6b7..31dbc5a 100644 --- a/src/plugins/toolbox.js +++ b/src/plugins/toolbox.js @@ -150,7 +150,7 @@ mw.hook('InPageEdit').add(({ _analytics, _msg, InPageEdit }) => { // April Fools' Day ;(() => { const from = new Date('2024-04-01T00:00:00+08:00').getTime() - const to = new Date('2024-04-08T00:00:00+08:00').getTime() + const to = new Date('2024-04-02T00:00:00+08:00').getTime() const now = Date.now() if (now >= from && now < to) { mw.loader.load(