Merge pull request #1016 from emanuelschuetze/fix897
Use correct server time for all clients
This commit is contained in:
commit
31729534fa
@ -33,7 +33,7 @@ var projector = {
|
||||
|
||||
get_server_time: function () {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + projector.server_time_offset);
|
||||
date.setTime(date.getTime() - projector.server_time_offset);
|
||||
return date;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user