Skip to content

Conversation

@cowtowncoder
Copy link
Member

#376 implementation

*/
@Override
protected InstantDeserializer<T> withDateFormat(DateTimeFormatter dtf) {
public InstantDeserializer<T> withDateFormat(DateTimeFormatter dtf) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix for deserialization.

*
* @since 2.21
*/
public OffsetDateTimeSerializer withFormatter(DateTimeFormatter formatter)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix for serialization.

@cowtowncoder cowtowncoder marked this pull request as ready for review November 17, 2025 23:15
@cowtowncoder cowtowncoder merged commit ec2fa91 into 2.x Nov 17, 2025
4 checks passed
@cowtowncoder cowtowncoder deleted the tatu-claude/2.21/376-offset-date-time-custom-formatters branch November 17, 2025 23:17
@cowtowncoder cowtowncoder added this to the 2.21.0 milestone Nov 17, 2025
@cowtowncoder cowtowncoder self-assigned this Nov 17, 2025
@cowtowncoder
Copy link
Member Author

Ported to 3.x (for 3.1 release) via FasterXML/jackson-databind#5400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants