WorldLanguagesArchive / isOnlinev2

The extension code for isOnline V2
https://chrome.google.com/webstore/detail/isonline/pabjccjpgemijhffgnaamebfbcnalghj/
MIT License
13 stars 8 forks source link

Unknown status on Halloween #30

Closed joker314 closed 7 years ago

joker314 commented 7 years ago

Steps to reproduce:

1) Set your computer's time to Halloween 2) Visit my profile 3) Observe that the status is "Unknown"

4) Visit another user's profile 5) Observe the status isn't "Unknown"

joker314 commented 7 years ago

Thanks to RedMango22 for the report.

joker314 commented 7 years ago

I removed the special codes from my About Me and WIWO and the bug is still there! Why?

joker314 commented 7 years ago

Status works on 30th of October

joker314 commented 7 years ago

And 1st of November. There's some issue with the Halloween code, then?

joker314 commented 7 years ago

DeleteThisAccount has a similar issue!!!

joker314 commented 7 years ago

Uuhhh come on guys what do we have in common?

joker314 commented 7 years ago

We've both used the dev version, and we've both done the Halloween stuff

joker314 commented 7 years ago

There has to be a reasonable explanation

joker314 commented 7 years ago

Otherwise we'll have to remove all the Halloween stuff :(

joker314 commented 7 years ago

We are both reading timestamps from the 23rd of October; that's not good because it's exactly 7 days before Halloween.

joker314 commented 7 years ago

However, that can't be right... one moment

joker314 commented 7 years ago

1st of November doesn't work now, hmm. The timestamps seem to be stuck

joker314 commented 7 years ago

The extension isn't sending it's requests to update its status for some reason

joker314 commented 7 years ago

It stopped sending it on the 23 OCT, when I first made and tested the halloween feature. Further testing will be carried out tomorrow.

DeleteThisAcount commented 7 years ago

hmm.... I doubt this will happen on the real halloween

joker314 commented 7 years ago

The problem is not with the Halloween code; but with switching your date to a date in the future. This sets the timestamp to somewhere in the future.

joker314 commented 7 years ago

localStorage.removeItem("iOlastOn") should fix it

WorldLanguages commented 7 years ago

This is just because you're playing with the date I think