You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by so...@apache.org on 2019/10/31 10:37:12 UTC

[wicket] 02/03: Accidental copy/paste is removed

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git

commit 31de4438b13cec9fcbb2b3b12045a2b9aa7f21f9
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Tue Oct 29 22:01:51 2019 +0700

    Accidental copy/paste is removed
---
 .../main/java/org/apache/wicket/markup/html/pages/wicket-browser-info.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/wicket-browser-info.js b/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/wicket-browser-info.js
index 07e8bb5..2118296 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/wicket-browser-info.js
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/wicket-browser-info.js
@@ -57,7 +57,6 @@
 					info.screenWidth = window.screen.width;
 					info.screenHeight = window.screen.height;
 					info.screenColorDepth = window.screen.colorDepth;
-					info.utcOffset = (new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0).getTimezoneOffset() / -60);
 				}
 				var jsTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone
 				info.jsTimeZone = jsTimeZone ? jsTimeZone : null;;