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.
@saljam started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
In script.js, change
to
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.