Skip to content

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
@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
jvz pushed a commit that referenced this pull request Jul 31, 2025
Fixes the formatting of the single `s` pattern.

Co-authored-by: Volkan Yazıcı <[email protected]>
jvz added a commit that referenced this pull request Aug 1, 2025
Fixes the formatting of the single `s` pattern.

Co-authored-by: Piotr P. Karwasz <[email protected]>
Co-authored-by: Volkan Yazıcı <[email protected]>
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