Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B51E6200CDA for ; Fri, 4 Aug 2017 21:11:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B357E16E206; Fri, 4 Aug 2017 19:11:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F017B16E204 for ; Fri, 4 Aug 2017 21:11:22 +0200 (CEST) Received: (qmail 70136 invoked by uid 500); 4 Aug 2017 19:11:22 -0000 Mailing-List: contact commits-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list commits@manifoldcf.apache.org Received: (qmail 70093 invoked by uid 99); 4 Aug 2017 19:11:20 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2017 19:11:20 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 47C613A0366 for ; Fri, 4 Aug 2017 19:11:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1804152 - /manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js Date: Fri, 04 Aug 2017 19:11:20 -0000 To: commits@manifoldcf.apache.org From: kishore@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170804191120.47C613A0366@svn01-us-west.apache.org> archived-at: Fri, 04 Aug 2017 19:11:23 -0000 Author: kishore Date: Fri Aug 4 19:11:20 2017 New Revision: 1804152 URL: http://svn.apache.org/viewvc?rev=1804152&view=rev Log: Send Client TimezoneOffset to server Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js?rev=1804152&r1=1804151&r2=1804152&view=diff ============================================================================== --- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js (original) +++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js Fri Aug 4 19:11:20 2017 @@ -456,6 +456,10 @@ $.ManifoldCF.submit=function (form) _preLoadContent(); + //Add Client Timezone Offset + var timezone = new Date().getTimezoneOffset(); + formData.set('client_timezone_offset',timezone); + $.ajax({ type: method, url: action,