From: Fabii547 Date: Sat, 16 Jul 2016 11:45:18 +0000 (+0200) Subject: Fix typos in WCF\Date\Util.js (#2063) X-Git-Tag: 3.0.0_Beta_1~1114 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1319da1de65fdf3e34b7e8729db7132ddba71ad;p=GitHub%2FWoltLab%2FWCF.git Fix typos in WCF\Date\Util.js (#2063) --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js b/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js index b2078f9004..204562ed5a 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js @@ -197,7 +197,7 @@ define(['Language'], function(Language) { * @param {Date} date target date * @return {int} UTC timestamp in seconds */ - gmdate: function(data) { + gmdate: function(date) { if (!(date instanceof Date)) { date = new Date(); } @@ -215,8 +215,8 @@ define(['Language'], function(Language) { /** * Returns a Date object with precise offset (including timezone and local timezone). * - * @param {int} timestamp timestamp in miliseconds - * @param {int} offset timezone offset in miliseconds + * @param {int} timestamp timestamp in milliseconds + * @param {int} offset timezone offset in milliseconds * @return {Date} localized date */ getTimezoneDate: function(timestamp, offset) {