File tree 3 files changed +7
-3
lines changed
datetime/src/main/java/com/fasterxml/jackson/datatype/jsr310/deser
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -342,17 +342,16 @@ private String replaceZeroOffsetAsZIfNecessary(String text)
342
342
return text ;
343
343
}
344
344
345
+ // @since 2.13
345
346
private String addInColonToOffsetIfMissing (String text )
346
347
{
347
- Matcher matcher = ISO8601_COLONLESS_OFFSET_REGEX .matcher (text );
348
-
348
+ final Matcher matcher = ISO8601_COLONLESS_OFFSET_REGEX .matcher (text );
349
349
if (matcher .find ()){
350
350
StringBuilder sb = new StringBuilder (matcher .group (0 ));
351
351
sb .insert (3 , ":" );
352
352
353
353
return matcher .replaceFirst (sb .toString ());
354
354
}
355
-
356
355
return text ;
357
356
}
358
357
Original file line number Diff line number Diff line change @@ -145,3 +145,6 @@ Gökhan Öner (gokhanoner@github)
145
145
* Reported #207 : Fail to serialize `TemporalAdjuster` type with 2.12
146
146
(2.12.3 )
147
147
148
+ Øystein B. Huseby (oeystein@github)
149
+ * Contributed #131 : Deserializing ZonedDateTime with basic TZ offset notation (0000)
150
+ (2.13.0 )
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ Modules:
10
10
11
11
2.13.0 (not yet released)
12
12
13
+ #131 : Deserializing ZonedDateTime with basic TZ offset notation (0000 )
14
+ (contributed by Øystein H)
13
15
#212 : Make LocalDateDeserializer consider strict/lenient on accepting (or not )
14
16
of "time" part
15
17
You can’t perform that action at this time.
0 commit comments