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

Fixed year display for songs from The Beatles Rock Band #449

Merged
merged 6 commits into from
Jun 9, 2023

Conversation

EscapeNumber001
Copy link
Contributor

@EscapeNumber001 EscapeNumber001 commented Jun 9, 2023

  • The Year field for songs from the source tbrb or tbrbdlc will now be truncated to display only the year, excluding the month and day.

@EliteAsian123
Copy link
Member

This should probably be using a more general approach that extends to all different date types that isn't dependent on the source. At its current state, if someone manually changes the values in the song.ini, it could crash the caching process.

@EscapeNumber001
Copy link
Contributor Author

I just wrote a new system that checks for four contiguous digits in the Year string and replaces the year with that substring. This system is source-independent and should work with basically any date format.

@EliteAsian123 EliteAsian123 merged commit 684f145 into YARC-Official:dev Jun 9, 2023
@EscapeNumber001 EscapeNumber001 deleted the date_fix branch June 9, 2023 23: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