Skip to content

Commit

Permalink
Fix #60
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 13, 2015
1 parent 4e6c266 commit 86c6402
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions release-notes/CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ Brad Kennedy (bkenned4@github)
Charlie La Mothe (clamothe@github)
* Contributed #51: Calling `JodaDateSerializerBase.isEmpty()` results in a `StackOverflowError`.
(2.5.1)

Thorsten Platz (ThorstenPlatz@github)
* Reported #60: Configured date/time format not considered when serializing Joda Instant
(2.5.4)
7 changes: 5 additions & 2 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Project: jackson-datatype-joda
=== Releases ===
------------------------------------------------------------------------

2.5.4 (not yet released)

#60: Configured date/time format not considered when serializing Joda Instant
(reported by Thorsten P)

2.5.3 (24-Apr-2015)
2.5.2 (29-Mar-2015)

Expand All @@ -16,8 +21,6 @@ No changes since 2.5.1

2.5.0 (01-Jan-2015)

No changes since 2.4

2.4.6 (23-Apr-2015)
2.4.5 (14-Jan-2015)
2.4.4 (24-Nov-2014)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public final class InstantSerializer
public InstantSerializer() { this(FormatConfig.DEFAULT_TIMEONLY_FORMAT); }
public InstantSerializer(JacksonJodaDateFormat format) {
super(Instant.class, format, false,
SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS);
SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
}

@Override
Expand Down

0 comments on commit 86c6402

Please sign in to comment.