Jump to content

Incorrect activity reported in API


hadesflames
 Share

Recommended Posts

https://politicsandwar.com/nation/id=52301

 

Was active today, API reports 24732889 minutes inactive, which is over 17 thousands days inactive. That's also over 46 years, so he's been inactive since before the internet was even invented, and probably before he was even born.

gkt70Td.png

Link to comment
Share on other sites

Link to comment
Share on other sites

For the curious, it's because virtually all computer systems store dates as the number of (milli)seconds since midnight, 1 January 1970. The issue here is that Sheepy's server stores the last login time, but the API calculates minutes inactive from that. If the last login time is missing, then 0 is used in the minutes inactive calculation, and you get the incorrect large results seen here.

  • Upvote 1
RollSheepy.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and the Guidelines of the game and community.