[ https://issues.apache.org/jira/browse/NIFI-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997956#comment-15997956 ]
Michael Hopton commented on NIFI-3719: -------------------------------------- I've looked a bit more closely and java.time does not provide formatting for Duration, which seems to me to be a significant omission. As a consequence, changing to Duration ends up being completely unrelated to the bug reported and could be raised as a separate issue if there is a desire to refactor the code. I think we should stick with the patch provided to resolve the bug. > Timezone error in 5-minute statistics processing time > ----------------------------------------------------- > > Key: NIFI-3719 > URL: https://issues.apache.org/jira/browse/NIFI-3719 > Project: Apache NiFi > Issue Type: Bug > Components: Core UI > Affects Versions: 1.2.0, 1.1.1 > Environment: Windows 10 and Java 1.8.0_121. > Also CentOS 7 with unknown Java version, but at least 1.7. > Reporter: Michael Hopton > Priority: Minor > Labels: patch > Attachments: 0001-Nifi-3719-Fix-timezone-for-durations.patch > > > With timezone set to Australia\Sydney (AEST, UCT+10), each processor shows > Task / Time of 0 / 00:00:00.000. > With timezone set to Australia\Adelaide (ACST, UCT+9:30), each processor > shows Task / Time of 0 / 00:30:00.000. -- This message was sent by Atlassian JIRA (v6.3.15#6346)