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

David Handermann reassigned NIFI-14620:
---------------------------------------

    Assignee: David Handermann  (was: Daniel Stieglitz)

> EL toDate() always uses local timezone
> --------------------------------------
>
>                 Key: NIFI-14620
>                 URL: https://issues.apache.org/jira/browse/NIFI-14620
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 2.4.0
>         Environment: OS: RedHat 9.5
>            Reporter: Beat Fuellemann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I use a parameter date "20250601". Nifi is running in CEST timezone.
> Now I need to generate a date in UTC based on the parameter "date".
> If I use UpdateAttribute Processor with 
> ${date:toDate(''yyyyMMdd,'UTC')}, it generates the timestamp "Sun Jun 01 
> 00:00:00 CEST 2025". I would expect "Sun Jun 01 *02:00:00* CEST 2025".
> I also already tested it with timezone "Europe/Kiev" or "America/Detroit", I 
> always get "Sun Jun 01 00:00:00 CEST 2025".
> It looks, that this Nifi expression Language method "toDate" always uses the 
> local timezone.
> In release 1.23.2 it was working fine.



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

Reply via email to