cancel
Showing results for 
Search instead for 
Did you mean: 

CPI: expression date problem

Bais
Participant
0 Kudos

From last update we found an absurd problem with camel date expression.

${date:now:yyyy-mm-dd'T'hh:MM:ss'Z'} ----> 2020-38-24T01:01:38Z

${date:now:yyyymmddhhMMss} ----> 20203824010137

...I will try a workaround with groovy script... but... this is absurd.

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Federico,

As Evgeniy pointed it should be MM in date ( yyyy-MM-dd ) and mm represents minutes.

Regards,

Sriprasad Shivaram Bhat

Answers (2)

Answers (2)

former_member190293
Active Contributor

Hi!

Are you sure, that your date format string is correct?

Maybe it should look like: yyyy-MM-dd'T'hh:mm:ss'Z'?

Regards, Evgeniy.

Bais
Participant
0 Kudos

Thanks for correction,probably an copy and paste too fast!