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

Release dates in discography view are displayed as timestamps #620

Closed
Hydronicx opened this issue May 17, 2024 · 7 comments
Closed

Release dates in discography view are displayed as timestamps #620

Hydronicx opened this issue May 17, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Hydronicx
Copy link

Expected Behavior

Release dates should be displayed in the format they are given in the tags (e.g. just the year, or YYYY-MM-DD).

Current Behavior

In the "view discography" of an artist, release dates of albums display as full timestamps no matter the original format (e.g. 1997-01-01T05:00:00.000Z).

Steps to Reproduce

  1. Go to the artist page.
  2. Click "View discography".
  3. Check the release dates of the albums.

Possible Solution

Format the release dates appropriately.

Context

No response

Application version

0.7.1

Operating System and version

Web client

Server and Version

Navidrome 0.52.5

Node Version (if developing locally)

No response

@Hydronicx Hydronicx added the bug Something isn't working label May 17, 2024
@kgarner7
Copy link
Collaborator

I am unable to reproduce this, as they are all in short month, day, year format for me. Can you confirm if this behavior is also seen on https://feishin.vercel.app?

@Hydronicx
Copy link
Author

Sorry, I must have confused the release date with the timestamp of the last play (in the "recently played" sorting order).
(Also, I noticed that the duration shown in the "duration" sort seems to be given in ms without any formatting of hours, minutes, seconds.)

@kgarner7
Copy link
Collaborator

Please test this behavior on latest web. None of what you describe is what currently exists
image

@Hydronicx
Copy link
Author

I should have noted that this is only an issue in the card and poster views, not the table view.

@kgarner7
Copy link
Collaborator

Please include a screenshot of this behavior from https://feishin.vercel.app, as I am not able to reproduce this either.

@iiPythonx
Copy link
Contributor

iiPythonx commented May 26, 2024

This does in fact happen, strictly with the recently played sort order though:
image

(And I can also reproduce the sort by duration view showing milliseconds)

@kgarner7
Copy link
Collaborator

Resolved by aa89c5e. In the future, it would be helpful if you could also include screenshots of your issue. Thanks iiPythonx for the clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants