Skip to content

Support JSR-310 Duration and Period (to and from String) [DATACMNS-848] #1310

Closed
@spring-projects-issues

Description

@spring-projects-issues

Jostein Gogstad opened DATACMNS-848 and commented

The current Jsr310Converters.java doesn't support convertion to and from String representations of java.time.Duration and java.time.Period.

MongoTemplate should understand how to deserialize for instance "PT3M" to a java.time.Duration (by Duration#parse


Affects: 1.12.1 (Hopper SR1)

Issue Links:

  • DATACMNS-951 Add Converters for JSR-310 Duration and Period
    ("duplicates")

Referenced from: pull request #186

1 votes, 2 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions