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 038FD200CE7 for ; Wed, 2 Aug 2017 08:47:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0206B168C7B; Wed, 2 Aug 2017 06:47:13 +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 51976168C80 for ; Wed, 2 Aug 2017 08:47:12 +0200 (CEST) Received: (qmail 21718 invoked by uid 500); 2 Aug 2017 06:47:10 -0000 Mailing-List: contact dev-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 dev@manifoldcf.apache.org Received: (qmail 21264 invoked by uid 99); 2 Aug 2017 06:47:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2017 06:47:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 77410C00FF for ; Wed, 2 Aug 2017 06:47:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UY4Ka45fCC_H for ; Wed, 2 Aug 2017 06:47:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0DC045FDAB for ; Wed, 2 Aug 2017 06:47:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A23CFE06BD for ; Wed, 2 Aug 2017 06:47:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8F4D424654 for ; Wed, 2 Aug 2017 06:47:02 +0000 (UTC) Date: Wed, 2 Aug 2017 06:47:02 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Aug 2017 06:47:13 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110409#comment-16110409 ] Karl Wright commented on CONNECTORS-1445: ----------------------------------------- The report timezones were broken by the commit for CONNECTORS-1332. Prior to that, the system default timezone was used for the report UI. While this isn't ideal (if you're in a different timezone there's no way to select that), it's only a minor nuisance. The reason for the breakage was that one of our committers ran the "forbiddenapis" check on the code which flagged those places as being "disallowed"; his fix, though, was incorrect. I have committed a change to trunk for that issue too: r1803766. > TimeZone Issues in Manifoldcf 2.6 > --------------------------------- > > Key: CONNECTORS-1445 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1445 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core > Affects Versions: ManifoldCF 2.6 > Environment: tomcat-7.0.72.B.RELEASE, Linux , JAVA_VERSION="1.8.0_112" > Reporter: Robert Kavanagh > Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: CONNECTORS-1445.patch > > > I am having issues with timezones in Manifoldcf. > 1. The simple history always shows the time as UTC time. The sever time is correctly set to "EST" however all simple history is shown in UTC. > looks like the timezone is hardcoded to UTC in simplereport.jsp: > https://github.com/apache/manifoldcf/blob/release-2.6-branch/framework/crawler-ui/src/main/webapp/simplereport.jsp > Is there a workaround for this? > 2. When I add a timezone to the schedule object of a job through the rest API it works correctly for timezone "America/New_York". However if I change the time in the UI it doesn't pick up the server time instead it defaults to UTC. > Result all job schedules always run off UTC time when changed from manifold UI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)