Jump to content

Timestamp bug - Media added before Noon gets tagged as yesterday


visproduction

Recommended Posts

visproduction

Possible bug. Windows server

If you add media before Noon, it looks like it gets tagged as date added yesterday.

Related.  Data pulled from imdb for birth and deaths seem to be off by one day.

Edited by visproduction
Link to comment
Share on other sites

Happy2Play
1 hour ago, visproduction said:

Possible bug. Windows server

If you add media before Noon, it looks like it gets tagged as date added yesterday.

Related.  Data pulled from imdb for birth and deaths seem to be off by one day.

Do you have specific examples?  

Link to comment
Share on other sites

visproduction

I added content this morning at 10:00 June 13th and the Date added was June 12 (yesterday) in Edit metadata.
I added content at 14:25 today and the Date added is June 13, at the correct date and time.
This happens 100% of the time.  I am in PST - California.
It's easy to notice on the home page, when the added content from a morning hour appears to the right of the latest media content added the day before.

===

In my dbase looking up actors that have one day off listed  on the artist page.  You just double check with IMDB.  My dbase has about 80% birthdates off by one day.  Does this happen to other servers and just no one has noticed?  I don't have any custom js running and my workstation date and time is correct.  It seems like it's a math code error somewhere in the data scraping for the birthday.

Alexis Bledel: https://www.imdb.com/name/nm0088127
Alison Lohman: https://www.imdb.com/name/nm0517844/
Analeigh Tipton: https://www.imdb.com/name/nm3006818/
Anne Heche: https://www.imdb.com/name/nm0000162/

AnnaSophia Robb:https://www.imdb.com/name/nm1455681/

 

 

Brithdays that appear on artist page are often off by one day.jpg

Edited by visproduction
Link to comment
Share on other sites

Happy2Play

So are we talking about a new install new people?  As all the ones you have listed appear correct for me.

image.png.0004fb33b85a5c4004929d0d07f65a23.png

Link to comment
Share on other sites

visproduction

Hmmm, well, most my birthday listings are off a day.  If they are correct on your server, then somehow my initial dbase scraping with Windows 32bit server failed to get the correct birthdays.  You are running Windows 64bit.  It's a strange sort of bug.  Does anyone else see birthdates off by a day?  Is the code visible for this?  Maybe I can spot something.

Link to comment
Share on other sites

Happy2Play
14 minutes ago, visproduction said:

You are running Windows 64bit.

Yes Windows 10 and 11.  Just checked three different machine installs and they all have correct dataetime.

@GrimReaperAre you seeing timezone timestamp issue?

Link to comment
Share on other sites

visproduction

The only thing I can imagine is the 32bit doesn't handle the server date lookup the same way as 64 bit.  That is a wild guess.  I've seen other issues similar to that with 32bit and most all dev work ignores testing on anything other than 64 bit.  If it's not a problem with anyone else, I would say it's not worth looking to fix.

Link to comment
Share on other sites

GrimReaper
1 hour ago, Happy2Play said:

@GrimReaperAre you seeing timezone timestamp issue?

Nope, can't recreate, two Win10 64-bit machines/instances. 

Edit: Scratch that, those were test instances and newly added content, my main server (incremental update over last several years) is full of people added in 2018/2019/2020 that have birthdates off by a day or even two, compared to text in the overview and online info, like every second person, just checked 20ish random actors. Tbh never paid attention. 

Edited by GrimReaper
Append
Link to comment
Share on other sites

rodainas
21 hours ago, visproduction said:

I added content this morning at 10:00 June 13th and the Date added was June 12 (yesterday) in Edit metadata.
I added content at 14:25 today and the Date added is June 13, at the correct date and time.
This happens 100% of the time.  I am in PST - California.
It's easy to notice on the home page, when the added content from a morning hour appears to the right of the latest media content added the day before.

===

In my dbase looking up actors that have one day off listed  on the artist page.  You just double check with IMDB.  My dbase has about 80% birthdates off by one day.  Does this happen to other servers and just no one has noticed?  I don't have any custom js running and my workstation date and time is correct.  It seems like it's a math code error somewhere in the data scraping for the birthday.

Alexis Bledel: https://www.imdb.com/name/nm0088127
Alison Lohman: https://www.imdb.com/name/nm0517844/
Analeigh Tipton: https://www.imdb.com/name/nm3006818/
Anne Heche: https://www.imdb.com/name/nm0000162/

AnnaSophia Robb:https://www.imdb.com/name/nm1455681/

 

 

Brithdays that appear on artist page are often off by one day.jpg

Yes the birthday happens on my server too, my data is pulled from nfos generated from tmm.

 

7502554C-E6B8-44A3-B3E5-AAC43CB35B91.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...