From: Alexander Ebert Date: Sun, 31 May 2015 13:30:17 +0000 (+0200) Subject: Fixed typo in `WoltLab/WCF/Date/Util` X-Git-Tag: 3.0.0_Beta_1~2294 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fea699390e6f93742d64f57cf03637a832ff04c5;p=GitHub%2FWoltLab%2FWCF.git Fixed typo in `WoltLab/WCF/Date/Util` --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js b/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js index bf214d8bcb..1ff35f992e 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js @@ -20,7 +20,7 @@ define([], function() { * @return integer UTC timestamp in seconds */ gmdate: function(data) { - if ((!date instanceof Date)) { + if (!(date instanceof Date)) { date = new Date(); }