Jump to content

Dates displayed a day earlier in metadata editor


PeteMB

Recommended Posts

I have a problem with dates, they are displayed a day earlier when opening a movie or persons profile in the metadata editor. This happens with “Date added”, “LabelBirthDate”, “Death date” and “Release date”. The dates are also displayed a day earlier in clients that display Birthdates, like MBC with Square theme and wp8 app. Only in the webclient the birthdates are displayed correctly.

 

It doesn’t seems to be the same problem discussed here

I my case the dates are stored correctly in the movie.xml or person.xml files, but when I open the profiles in the metadata editor the dates are displayed a day earlier. If I save the profile now, the wrong dates are written to the xml files. So whenever I want to make a change in a profile I first have to change the dates back to a day later.

 

With the added date field the behavior is almost the same, only the first time I go into the profile the added date field is displayed correctly, when I do a change and save the profile, the next time I open the profile the added date field will be displayed as a day earlier. It seems originally the added date field is stored as date + time, when I make a change and save the profile the time is zeroed out  and stored as 0:00:00 and this makes a difference.

 

As an example, if I open the profile I the web client the birth date is displayed correctly

54776e3e3a16d_KevinSpacey1.jpg

 

When I open the same profile on my windows phone the birthdate is displayed a day earlier

547770665bc25_KevinSpacey7.jpg

 

If I open this profile in the metadata editor, the birthdate is displayed a day earlier, the added date field is correct.

54776eb6ec80d_KevinSpacey2.jpg

 

The birthday in the person.xml file.

54776ef67da82_KevinSpacey3.jpg

 

If I save the profile and go back to Kevin Spacey's profile in the webclient the birthdate is changed to a day earlier

54776fc6a2469_KevinSpacey4.jpg

 

Now the wrong date is stored in the person.xml file, also the added date field time is now zeroed out.

54776ff654b45_KevinSpacey5.jpg

If I now open the profile in the metadata editor, both date added and birthdate are displayed a day earlier.

547770d822743_KevinSpacey6.jpg

 

 

 

For the moment I am running server version 3.0.5441.2

Link to comment
Share on other sites

Trying to find the problem I have installed mediabrowser server on an other system, on windows 8.1 ent running as virtual machine. And I still have the same problems.

Mediabrowser version is the latest beta release 3.0.5445.6, I have attached the server logs.

 

As another example of the date problem here the movie.xml file of a movie (American Beauty)

The added date is 27/11/2014  16:04:58 and the premiere date 1999-09-15

 

547b7ac5b69a9_AmericanBeauty1.jpg

 

When I open this profile in the metadata I get the following dates, added date 2014-11-27 (correct one) but a premiere date of 1999-09-14, this is a day earlier than in the xml file

547b7b8957896_AmericanBeauty2.jpg

 

When I make a change, like adding the correct parental rating for my country and save the profile the dates are also changed in the movie.xml file.

547b7c6a4aa46_AmericanBeauty3.jpg

 

When I open the profile again in the metadata editor, both dates will be shown a day earlier.

 

547b7cac5353d_AmericanBeauty4.jpg

 

I would be nice if somebody else could confirm they have the same problem.

server-63552977829.txt

Link to comment
Share on other sites

I tried changing my Region and Language settings from Dutch (Belgium) to English (United States), it didn't solve the problem.

Link to comment
Share on other sites

ScottIsAFool

@@Luke just been looking into this a little as it got reported on the Windows Phone forums. It looks like when requesting an item, the premieredate is an hour off so instead of being "PremiereDate": "1982-09-22T00:00:00.0000000Z" it's coming through as "PremiereDate": "1982-09-21T23:00:00.0000000Z" and so the clients (and metadata editor) are displaying the incorrect date. 

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Luke, I have done some more test with the dev version 3.0.5513.39888 and the problem seems to be half solved. At first I thought nothing was changed because the wrong dates were still displayed in the metadata editor. But the good thing is that these wrong dates are not written to the movie.xml files anymore. So I can edit profiles without the need to change the dates back to the correct ones. The only date displayed correctly are the added dates when they have a time higher than 0:59:59.

In all other places the dates are still displayed as a day early.

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...