Skip to content

Support conversion of Duration like 2h30s #40901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bjmi opened this issue May 25, 2024 · 1 comment
Closed

Support conversion of Duration like 2h30s #40901

bjmi opened this issue May 25, 2024 · 1 comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue

Comments

@bjmi
Copy link

bjmi commented May 25, 2024

It would be useful if parsing of formats like 3h10s or 2h 10m 45s to java.time.Duration is supported.
kotlin.time.Duration.parse(String) could serve as a possible reference.
Decimal notation e.g. 1.5h would also be nice.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 25, 2024
@bclozel
Copy link
Member

bclozel commented May 27, 2024

Closing in favor of spring-projects/spring-framework#30396, also see #37562 (comment)

@bclozel bclozel closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
@bclozel bclozel added status: duplicate A duplicate of another issue for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants