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

Inconsistent Capitalisation of Relative Time in Badges #21948

Closed
4 tasks done
reubn opened this issue Sep 11, 2024 · 0 comments · Fixed by #21949
Closed
4 tasks done

Inconsistent Capitalisation of Relative Time in Badges #21948

reubn opened this issue Sep 11, 2024 · 0 comments · Fixed by #21949

Comments

@reubn
Copy link
Contributor

reubn commented Sep 11, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Relative time displayed in entity badges is not capitalised. The relative time of the same entities displayed in their info window is capitalised.

Describe the behavior you expected

Consistent capitalisation

Steps to reproduce the issue

Look at relative time displayed in a badge
Look at the relative time displayed for the same entity in the info window.

Most of the time the string starts with a number, so the discrepancy isn't noticed, but the string does not always start with a number e.g. 'now' or 'yesterday'.

What version of Home Assistant Core has the issue?

core-2024.9.0

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Arc Version 1.60.0 (53537)-RC

Which operating system are you using to run this browser?

macOS Sonoma 14.5 (23F79)

State of relevant entities

off

Problem-relevant frontend configuration

type: entity
show_name: true
show_state: true
show_icon: true
entity: binary_sensor.d_link_camera_motion
name: Camera Motion
show_entity_picture: false
state_content: last_changed

Javascript errors shown in your browser console/inspector

No response

Additional information

image image
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 a pull request may close this issue.

1 participant