• In script.js, change

    ts = (new Date(2013, 0, 9, 12, 00));

    to

    ts = Date.UTC(2013, 0, 9, 11, 00);

    That should do it. Date.UTC is independent of timezone.

    And you don't really need to get server time, Date.now() just as good as serverTime()! They both return the number of seconds since Jan 1, 1970.

About

Avatar for saljam @saljam started