You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2017/11/06 13:03:00 UTC
[jira] [Commented] (CAMEL-11982) camel-jackson - Allow to configure
timezone
[ https://issues.apache.org/jira/browse/CAMEL-11982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240249#comment-16240249 ]
Andrea Cosentino commented on CAMEL-11982:
------------------------------------------
Gson doesn't have the timezone setting, you can specify a dateformat when you use the GsonBuilder. How can we fix the problem in this case?
> camel-jackson - Allow to configure timezone
> -------------------------------------------
>
> Key: CAMEL-11982
> URL: https://issues.apache.org/jira/browse/CAMEL-11982
> Project: Camel
> Issue Type: Improvement
> Components: camel-jackson, camel-jacksonxml
> Reporter: Claus Ibsen
> Assignee: Andrea Cosentino
> Priority: Minor
> Fix For: 2.21.0
>
>
> Sometimes users may want to configure a different timezone than what what jackson uses by default.
> You can configure this on ObjectMapper. But if that is the only configuration you need, then we could make this option configurable as a option on the data format as well.
> Mind that json dataformat is shared for xstream,gson etc and some of them may not have timezone configuration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)