Skip to content

[Java][jersey1][Feign] use a jdk6 compatible DateFormat for java.util.Date#3768

Merged
wing328 merged 2 commits intoswagger-api:masterfrom
cbornet:feign_dateformat
Oct 10, 2016
Merged

[Java][jersey1][Feign] use a jdk6 compatible DateFormat for java.util.Date#3768
wing328 merged 2 commits intoswagger-api:masterfrom
cbornet:feign_dateformat

Conversation

@cbornet
Copy link
Copy Markdown
Contributor

@cbornet cbornet commented Sep 10, 2016

PR checklist

  • Read the contribution guildelines.
  • Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Use a jdk6/android compatible DateFormat for java.util.Date for Jackson based java clients

See #3727

Fix #3753

@cbornet cbornet changed the title [Feign] use a jdk6 compatible serializer for java.util.Date [Feign] use a jdk6 compatible DateFormat for java.util.Date Sep 10, 2016
@cbornet cbornet changed the title [Feign] use a jdk6 compatible DateFormat for java.util.Date [Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date Sep 10, 2016
@cbornet
Copy link
Copy Markdown
Contributor Author

cbornet commented Sep 10, 2016

Note : RFC3339DateFormat also correctly supports java.sql.Date

@cbornet cbornet closed this Sep 11, 2016
@cbornet cbornet reopened this Sep 11, 2016
@cbornet cbornet closed this Sep 11, 2016
@cbornet cbornet reopened this Sep 11, 2016
@wing328 wing328 added this to the v2.2.2 milestone Sep 12, 2016
@wing328 wing328 merged commit 2680995 into swagger-api:master Oct 10, 2016
@cbornet cbornet deleted the feign_dateformat branch October 10, 2016 16:50
acramatte added a commit to comerge/swagger-codegen that referenced this pull request Oct 12, 2016
* upstream/master:
  [html]Group api index by operations.baseName (swagger-api#3953)
  Revert "[WIP] Improve PHP client emitted code quality"
  update retrofit1,2 samples
  jaxrs-cxf-cdi POM template (swagger-api#3958)
  [Swift] Add / as enum separator
  issue-890 correct fix for deprecated Jersey method
  2208 fix Objc Mapping Generation (swagger-api#3894)
  [Spring] Format datetime in rfc3339 (swagger-api#3777)
  [Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date (swagger-api#3768)
  add template owner jax-rs cxf cdi
  remove newline char in *.mustache; added generated code
  Add a new JAX-RS server generator - jaxrs-cxf-cdi (swagger-api#3940)
  added package paths for retrofit class names
  feature(PHP QA) add initial PHP client template tweaks to improve emitted code quality
  [resteasy] configure jackson to use rfc3339 dates
  [jersey] configure jackson to use rfc3339 dates
@wing328 wing328 changed the title [Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date [Java][jersey1][Feign] use a jdk6 compatible DateFormat for java.util.Date Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants