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

Fix formatting of s pattern #3469

Merged
merged 6 commits into from
Feb 19, 2025
Merged

Fix formatting of s pattern #3469

merged 6 commits into from
Feb 19, 2025

Conversation

ppkarwasz
Copy link
Contributor

The specialized SecondPatternSequence formatter is optimized to format the ss.?S* patterns, where seconds are padded. For the not padded (and uncommon) s pattern, we should use the usual DynamicPatternSequence.

This is the main reason for the failing #3468 test.

The specialized `SecondPatternSequence` formatter is optimized to format the `ss.?S*` patterns, where seconds are padded. For the not padded (and uncommon) `s` pattern, we should use the usual `DynamicPatternSequence`.
@ppkarwasz ppkarwasz requested a review from vy February 16, 2025 09:27
@ppkarwasz ppkarwasz added this to the 2.25.0 milestone Feb 16, 2025
@ppkarwasz ppkarwasz requested a review from vy February 18, 2025 21:37
ppkarwasz and others added 2 commits February 19, 2025 14:17
Co-authored-by: Volkan Yazıcı <volkan@yazi.ci>
@ppkarwasz ppkarwasz merged commit 0891d6b into 2.x Feb 19, 2025
11 checks passed
@ppkarwasz ppkarwasz deleted the fix/2.x/single_s_pattern branch February 19, 2025 15:35
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