[ 
https://issues.apache.org/jira/browse/NIFI-14572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

super dachuan updated NIFI-14572:
---------------------------------
    Description: 
When using the Provenance UI to perform a search — for example, entering the 
date/time range *5/16/2025 00:00:00 - 5/16/2025 23:59:59 (CST)* — and clicking 
the *Search* button, the actual provenance request generated contains an 
incorrect date/time range:
{{{}startDate: "05/18/2025 04:00:00 CST"{}}},
{{{}endDate: "05/19/2025 03:59:59 CST"{}}}.

As a result, the search returns incorrect results.
Please refer to the attached screenshot for both the UI input and the resulting 
request.

We encountered this issue in version 2.4.0, but it is unclear whether the 
problem also exists in earlier 2.x versions.

 

Update:

I also tested a deployment without any explicit timezone configuration (i.e., 
using the default UTC timezone), and it worked as expected. However, after 
setting the server timezone to my local timezone ({*}Asia/Shanghai{*}), the 
issue described above started to occur.

  was:
When using the Provenance UI to perform a search — for example, entering the 
date/time range *5/16/2025 00:00:00 - 5/16/2025 23:59:59 (CST)* — and clicking 
the *Search* button, the actual provenance request generated contains an 
incorrect date/time range:
{{{}startDate: "05/18/2025 04:00:00 CST"{}}},
{{{}endDate: "05/19/2025 03:59:59 CST"{}}}.

As a result, the search returns incorrect results.
Please refer to the attached screenshot for both the UI input and the resulting 
request.

We encountered this issue in version 2.4.0, but it is unclear whether the 
problem also exists in earlier 2.x versions.


> Provenance search request date/time is inconsistent with the date/time shown 
> in the UI
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-14572
>                 URL: https://issues.apache.org/jira/browse/NIFI-14572
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 2.4.0
>            Reporter: super dachuan
>            Priority: Major
>         Attachments: 2025-05-16_16-42-12.png, 2025-05-16_16-47-46.png
>
>
> When using the Provenance UI to perform a search — for example, entering the 
> date/time range *5/16/2025 00:00:00 - 5/16/2025 23:59:59 (CST)* — and 
> clicking the *Search* button, the actual provenance request generated 
> contains an incorrect date/time range:
> {{{}startDate: "05/18/2025 04:00:00 CST"{}}},
> {{{}endDate: "05/19/2025 03:59:59 CST"{}}}.
> As a result, the search returns incorrect results.
> Please refer to the attached screenshot for both the UI input and the 
> resulting request.
> We encountered this issue in version 2.4.0, but it is unclear whether the 
> problem also exists in earlier 2.x versions.
>  
> Update:
> I also tested a deployment without any explicit timezone configuration (i.e., 
> using the default UTC timezone), and it worked as expected. However, after 
> setting the server timezone to my local timezone ({*}Asia/Shanghai{*}), the 
> issue described above started to occur.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to