From d1319da1de65fdf3e34b7e8729db7132ddba71ad Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Sat, 16 Jul 2016 13:45:18 +0200 Subject: [PATCH] Fix typos in WCF\Date\Util.js (#2063) --- wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.20.1