manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1445) TimeZone Issues in Manifoldcf 2.6
Date Fri, 04 Aug 2017 21:46:02 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115008#comment-16115008
] 

Karl Wright commented on CONNECTORS-1445:
-----------------------------------------

Hi [~kishorekumar]:

First, I tried this and it didn't work: I got null.

{code}
<%=variableContext.getParameter("client_timezone_offset")%>
{code}

How do I access this parameter?

Second, I prefer a valid timezone -- not just offset in minutes from UTC.  I might be able
to use the offset in minutes by converting it to a timezone specifier of the format: "UTC+hh:mm",
but if you have access to the actual timezone specifier for the client computer (e.g. "Americas/New_York")
that's best.



> 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)

Mime
View raw message