Skip to content

Commit

Permalink
Updated release notes wrt #131
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Apr 2, 2021
1 parent 31a46ad commit 5a91263
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,17 +342,16 @@ private String replaceZeroOffsetAsZIfNecessary(String text)
return text;
}

// @since 2.13
private String addInColonToOffsetIfMissing(String text)
{
Matcher matcher = ISO8601_COLONLESS_OFFSET_REGEX.matcher(text);

final Matcher matcher = ISO8601_COLONLESS_OFFSET_REGEX.matcher(text);
if (matcher.find()){
StringBuilder sb = new StringBuilder(matcher.group(0));
sb.insert(3, ":");

return matcher.replaceFirst(sb.toString());
}

return text;
}

Expand Down
3 changes: 3 additions & 0 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,6 @@ Gökhan Öner (gokhanoner@github)
* Reported #207: Fail to serialize `TemporalAdjuster` type with 2.12
(2.12.3)

Øystein B. Huseby (oeystein@github)
* Contributed #131: Deserializing ZonedDateTime with basic TZ offset notation (0000)
(2.13.0)
2 changes: 2 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Modules:

2.13.0 (not yet released)

#131: Deserializing ZonedDateTime with basic TZ offset notation (0000)
(contributed by Øystein H)
#212: Make LocalDateDeserializer consider strict/lenient on accepting (or not)
of "time" part

Expand Down

0 comments on commit 5a91263

Please sign in to comment.