Skip to content

time: fix quarter calculation in custom_format()#25608

Merged
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:quarter
Oct 28, 2025
Merged

time: fix quarter calculation in custom_format()#25608
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:quarter

Conversation

@tankf33der

Copy link
Copy Markdown
Contributor

The current implementation of custom_format() calculates quarter numbers completely incorrectly.
Let's fix this and add a test that covers a full year.

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.
Thank you.

@spytheman spytheman merged commit 081ded0 into vlang:master Oct 28, 2025
73 checks passed
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