Fixed typo in `WoltLab/WCF/Date/Util`
authorAlexander Ebert <ebert@woltlab.com>
Sun, 31 May 2015 13:30:17 +0000 (15:30 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 31 May 2015 13:30:17 +0000 (15:30 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Date/Util.js

index bf214d8bcbc91262e60336d6af4a4525b1ee98aa..1ff35f992e35ccd4a01f205ff2941c62d3ca1007 100644 (file)
@@ -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();
                        }