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

sl-relative-time with automatic date title broken #2380

Open
gengns opened this issue Feb 17, 2025 · 0 comments
Open

sl-relative-time with automatic date title broken #2380

gengns opened this issue Feb 17, 2025 · 0 comments
Labels
bug Things that aren't working right in the library.

Comments

@gengns
Copy link

gengns commented Feb 17, 2025

The sl-relative-time component behavior changed after version 2.15.1, losing its original automatic date formatting functionality. Starting from version 2.18.0, a title attribute must be explicitly set and formatted to display the date correctly.

This issue was discussed in GitHub Discussion #2184

Expected Behavior:
The sl-relative-time component should automatically format and display the date without requiring a title attribute, as it did in versions prior to 2.16.0. and allow a title to do it explicit yourself (maybe a feat if the removal of the inicial behaviour was intentional).

@gengns gengns added the bug Things that aren't working right in the library. label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

1 participant