From fea699390e6f93742d64f57cf03637a832ff04c5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 31 May 2015 15:30:17 +0200 Subject: [PATCH] Fixed typo in `WoltLab/WCF/Date/Util` --- wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.20.1