Skip to content

Fix: Unknown date was displayed as 01-01-0001 - changed it to Unknown#5596

Open
xoores wants to merge 2 commits intoLidarr:developfrom
xoores:fix-null-date
Open

Fix: Unknown date was displayed as 01-01-0001 - changed it to Unknown#5596
xoores wants to merge 2 commits intoLidarr:developfrom
xoores:fix-null-date

Conversation

@xoores
Copy link

@xoores xoores commented Sep 10, 2025

Database Migration

NO

Description

Current metadata server returns unknown date as 01-01-0001, which is being displayed as a real date in UI.

This PR fixes this by checking this & displaying "Unknown" if appropriate (both artist detail & album detail).

I also added a "No metadata" info in case the album is missing metadata - this should help people identify that particular album is missing metadata & it should make it easier in support channels. This change is only in artist detail and should be only temporary until the metadata server is in full health - that's why I have not added a proper translation for this.

Sorting still works as I only changed the display value, not the actual value of 01-01-0001 that is being used internally.

Screenshot (if UI related)

Before
image image
After
image image

@github-actions github-actions bot added the Area: UI Issue is related to UI, should also add the issue to the new UI project, if it isn't a bug. label Sep 10, 2025
@xoores
Copy link
Author

xoores commented Sep 10, 2025

Last commit reverts back the "No metadata" bandaid - now rows without metadata look like before:

image

@bakerboy448
Copy link
Contributor

Is this still needed with the metadata server +- recovered?

@xoores
Copy link
Author

xoores commented Oct 14, 2025

It never had anything to do with metadata server recovering.

Some releases are just missing dates in the MB database 🤷

image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: UI Issue is related to UI, should also add the issue to the new UI project, if it isn't a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants