Skip to content

Commit

Permalink
fix: wrong date
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-fish committed Mar 31, 2024
1 parent 1d77812 commit 9b41074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/toolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9b41074

Please sign in to comment.