manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kish...@apache.org
Subject svn commit: r1804152 - /manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js
Date Fri, 04 Aug 2017 19:11:20 GMT
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,



Mime
View raw message