logbook-card icon indicating copy to clipboard operation
logbook-card copied to clipboard

"date_format": not using a default system HA format

Open ildar170975 opened this issue 1 year ago • 2 comments

Describe the bug According to Docs: изображение i.e. a default time format is supposed to be used. My system format is изображение

But a default time format seems to be using "AM/PM": изображение

type: custom:logbook-card
entity: sun.sun

Similarly, if an attribute is a timestamp: изображение

then it is shown in a proper system format only if no type: date option specified: изображение

type: custom:logbook-card
entity: binary_sensor.battery_charging_ipad_air_2
attributes:
  - value: last_seen
  - value: last_seen
    type: date
    label: 'type: date'

and with type: date option is is shown in "AM/PM" format.

To Reproduce see above

Expected behavior A default date/time format should be as defined in HA system settings.

Screenshots see above

Environment (please complete the following information):

  • HA Version: 2024.7.1
  • Browser: Chrome 126.0.6478.127
  • Card version: 2.5.5

Card configuration see above

Additional context Add any other context about the problem here.

ildar170975 avatar Jul 24 '24 21:07 ildar170975

It is using the fecha default date format.

Will see if I can change that.

royto avatar Jul 25 '24 16:07 royto

It is using the fecha default date format.

Will see if I can change that.

something new?

milandzuris avatar Nov 29 '25 00:11 milandzuris