Fix typos in WCF\Date\Util.js (#2063)
authorFabii547 <Fabii547@users.noreply.github.com>
Sat, 16 Jul 2016 11:45:18 +0000 (13:45 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 16 Jul 2016 11:45:18 +0000 (13:45 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js

index b2078f900478b40cc6e04775d2435a89f81dc00d..204562ed5a48836bd68078171cf2e1ab0af38866 100644 (file)
@@ -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) {