pkissling / clock-weather-card

A Home Assistant Card indicating today's date/time, along with an iOS inspired weather forecast for the next days with animated icons
Other
304 stars 65 forks source link

time_format option is ignored #309

Closed airbur closed 6 months ago

airbur commented 6 months ago

Checklist:

Release with the issue: 2.1.12

Last working release (if known): NA

Browser and Operating System: Windows 11, Firefox, Chrome, Edge, Brave

Description of problem: Regardless of inputing 12 or 24 for the time_format, clock-weather-card only displays 24 hour time.

Additional information: type: custom:clock-weather-card entity: weather.openweathermap sun_entity: sun.sun temperature_sensor: sensor.thermostat_outdoor_temperature weather_icon_type: line animated_icon: true forecast_rows: 7 locale: en-GB time_pattern: HH:mm time_format: 12 date_pattern: ccc, MM.dd.yy hide_today_section: false hide_forecast_section: false hide_clock: false hide_date: false hourly_forecast: false use_browser_time: true time_zone: MST

Untitled

airbur commented 6 months ago

time_format was set. Once I set it to null the system shows 12 hour time.