camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CAMEL-12334) Salesforce DTO does not use correct datatype for "date" and "time" field
Date Wed, 14 Mar 2018 11:58:00 GMT


ASF GitHub Bot commented on CAMEL-12334:

zregvart commented on issue #2254: CAMEL-12334: Mapped date to LocalDate and time to LocalTime
   @hemangajmera thank you for clarifying this, I think we should address this issue so we
can parse given dates properly. What do you think, given that Salesforce documentation specifies
that `date` and `dateTime` primitive data types will be returned in UTC timezone, should we
make sure that when parsing those they are converted to the proper local timezone when mapped
to LocalDate and LocalDateTime?

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Salesforce DTO does not use correct datatype for "date" and "time" field
> ------------------------------------------------------------------------
>                 Key: CAMEL-12334
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 2.20.2
>            Reporter: Hemang Ajmera
>            Priority: Major
>              Labels: maven
> The DTO classes generated by the Maven plugin uses ZonedDateTime for all three
>  * datetime
>  * date
>  * time
> The generation works fine, but is is not able to marshal/unmarshal correctly.
> The DTO should use different kind of field. My suggestion is to use
>  * ZonedDateTime for datetime
>  * LocalDate for date
>  * LocalTime for time

This message was sent by Atlassian JIRA

View raw message