Skip to content

Commit

Permalink
Fixed issue with a clashing method that was preventing the Server Tim…
Browse files Browse the repository at this point in the history
…e to be shown
  • Loading branch information
jfederico committed Sep 2, 2016
1 parent d5662a6 commit 6a5187b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tool/src/webapp/js/bbb_utils.js
Expand Up @@ -1277,15 +1277,7 @@ Array.prototype.addUpdateMeeting = function (meeting){
}
};

Date.prototype.toUTCString = function (){

var date = this;
var date_utc = new Date(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate(), date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds());
return date_utc.getTime();
};

Date.prototype.stdTimezoneOffset = function () {

var jan = new Date(this.getFullYear(), 0, 1);
var jul = new Date(this.getFullYear(), 6, 1);
return Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset());
Expand Down

0 comments on commit 6a5187b

Please sign in to comment.