8000
Skip to content

Add YTD (year-to-date) period to home page period picker - #347

Open
nickvikeras wants to merge 1 commit into
gabehf:mainfrom
nickvikeras:ytd-period
Open

Add YTD (year-to-date) period to home page period picker#347
nickvikeras wants to merge 1 commit into
gabehf:mainfrom
nickvikeras:ytd-period

Conversation

@nickvikeras
@nickvikeras nickvikeras commented Aug 21, 2026
Copy link
Copy Markdown

I always wanted a YTD button. It looked easy enough to add/review the code change so I figured I'd just open a PR. Currently running it on my local server and it works.

Feature request here - #346

Adds a YTD option in the home page period picker alongside
Day/Week/Month/Year/All Time. YTD returns listens from Jan 1 of
the current year to now — distinct from the rolling 365-day Year
window.

Backend: PeriodYTD constant + StartTimeFromPeriod case for 'ytd'.
Frontend: 'ytd' in the periods array in PeriodSelector.
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.

1 participant

0