You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/08 21:22:00 UTC

[jira] [Commented] (CAMEL-25479) camel-dataweave - number and date coercion

    [ https://issues.apache.org/jira/browse/CAMEL-25479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125255#comment-18125255 ] 

Claus Ibsen commented on CAMEL-25479:
-------------------------------------

Implemented in https://github.com/apache/camel/pull/27585 (umbrella CAMEL-25471), verified by the executed DataWeave corpus test in camel-datasonnet.

_Claude Code on behalf of davsclaus_

> camel-dataweave - number and date coercion
> ------------------------------------------
>
>                 Key: CAMEL-25479
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25479
>             Project: Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.23.0
>
>
> as String {format: "#.00"} on numbers must use number formatting (not date formatting). as Date {format} must keep a date value usable by DataWeave operations rather than epoch millis. Support as DateTime, date literals |2020-01-01|, periods |P1D| and .year/.month/.day selectors where DataSonnet can express them.



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