The Movie Database Support

For this movie: https://www.themoviedb.org/movie/134411-snitch?language=fr

i can't set date to march 13 for france, it goes to 12 look at change log i tried several times

Thanx for checking ;-)

18 replies (on page 2 of 2)

Jump to last post

Previous page

Same Problem here. Add german release date for http://www.themoviedb.org/movie/188855-j-ger-des-augenblicks and he first saved the day-1.

Browser: Firefox 20 Language: german Locale: german Time: 09:24 pm Europe/Berlin

I think you store the dates in an other time zone, like UTC, do you? Maybe it is a problem with time calculation and the +/- 1 for summer/winter time. ;)

Ok maybe I found the problem:

I track what's happening when closing episode edit dialog:

....
var dataSource = new kendo.data.DataSource({
  transport: {
    read:  {
      url: "/tv/5464-n-v-t-vn-ci/season/1/remote/episodes",
  ....
  ....
  change: function(e) {
    var offsetMiliseconds = new Date().getTimezoneOffset() * 60000;
    var items = e.items;

    for (var i = 0; i < items.length; i++) {
      if (items[i].air_date) {
        var date_object = new Date(items[i].air_date);
        items[i].air_date = new Date(date_object.getTime() + offsetMiliseconds);
      }
    }
.....

Concretely this line:

items[i].air_date = new Date(date_object.getTime() + offsetMiliseconds);

Which exchange correct date object with one where the timezone is corrected to GMT.

Hope this helps.

That was actually just added this week in an attempt to fix it.

Mind keeping all of this in one discussion: https://www.themoviedb.org/talk/50fa7028760ee305350f7d98?page=2#5265aac619c29515a60c85e7

Thanks!

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login