Skip to content
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

feat: Introduce ISODurationFormatter #4776

Merged
merged 3 commits into from
Feb 10, 2025
Merged

Conversation

facumenzella
Copy link
Contributor

@facumenzella facumenzella commented Feb 10, 2025

Motivation

This PR introduces ISODurationFormatter to work with ISO Duration

Description

We need support for this in Customer Center, to work with refund windows. This PR adds a basic parser.
I've added it inside ISOPeriodFormatter maintaining the tests, just to prove it does not break anything. I would remove ISOPeriodFormatter in favor of this new formatter

@facumenzella facumenzella changed the title chore: Introduce ISODurationFormatter chore: Introduce ISODurationFormatte Feb 10, 2025
@facumenzella facumenzella changed the title chore: Introduce ISODurationFormatte chore: Introduce ISODurationFormatter Feb 10, 2025
@facumenzella facumenzella changed the title chore: Introduce ISODurationFormatter feat: Introduce ISODurationFormatter Feb 10, 2025
@facumenzella facumenzella requested a review from a team February 10, 2025 13:22
Copy link
Member

@ajpallares ajpallares left a comment

Choose a reason for hiding this comment

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

Looks good to me in general. Some small comments.

@facumenzella facumenzella enabled auto-merge (squash) February 10, 2025 13:31
@facumenzella facumenzella merged commit 2b4cc2f into main Feb 10, 2025
10 checks passed
@facumenzella facumenzella deleted the feat/isoduration-formatter branch February 10, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants