Fixed #897 (Use correct server time for clock/countdown on other clients)
This commit is contained in:
parent
e92af391c3
commit
3b8c8145d7
@ -33,7 +33,7 @@ var projector = {
|
|||||||
|
|
||||||
get_server_time: function () {
|
get_server_time: function () {
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
date.setTime(date.getTime() + projector.server_time_offset);
|
date.setTime(date.getTime() - projector.server_time_offset);
|
||||||
return date;
|
return date;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user