You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Vijendra Kulhade (Jira)" <ji...@apache.org> on 2020/12/28 19:04:00 UTC

[jira] [Created] (NIFI-8110) Nifi date format shows wrong date

Vijendra Kulhade created NIFI-8110:
--------------------------------------

             Summary: Nifi date format shows wrong date
                 Key: NIFI-8110
                 URL: https://issues.apache.org/jira/browse/NIFI-8110
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.11.4
            Reporter: Vijendra Kulhade


I have been using nifi date format through expression.
{code:java}
${now():toNumber():toDate():format("YYYY-MM-dd'T'HH:mm:ss'Z'")}
{code}
The output for this expression is comingĀ 

2021-12-28T18:52:15Z

Expected should beĀ 

2020-12-28T18:52:15Z



--
This message was sent by Atlassian Jira
(v8.3.4#803005)