[
https://issues.apache.org/jira/browse/NIFI-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029538#comment-16029538
]
ASF GitHub Bot commented on NIFI-3719:
--------------------------------------
GitHub user mcgilman opened a pull request:
https://github.com/apache/nifi/pull/1871
NIFI-3719: Address timezone issue when formatting hours/minutes/seconds
NIFI-3719:
- Removing the usage of SimpleDateFormat when formatting
hours/minutes/seconds as the current timezone could cause unintended results.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcgilman/nifi NIFI-3719
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1871.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1871
----
commit db77f7dd5356a38dae1b8b831a6e74fe992775ef
Author: Matt Gilman <[email protected]>
Date: 2017-05-30T15:15:04Z
NIFI-3719:
- Removing the usage of SimpleDateFormat when formatting
hours/minutes/seconds as the current timezone could cause unintended results.
----
> 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)