wassy92x / lovelace-digital-clock

A custom digital clock card for Home Assistant
MIT License
96 stars 17 forks source link

Weekday Truncating #41

Closed wgumaa closed 4 months ago

wgumaa commented 4 months ago

First, let me start by saying thatI love this card! Easy to use and set up and looks good!

I recently ran into an issue when tried to use the card in a grid. I have a grid comprising of 2 columns. The left column is 95% and contains the clock card and right column is 5% and has a chip card.

image

Despite the fact that I set the weekday: 'long' it displays the short one and I cannot figure out why?

Here is the code for my card:

`type: custom:layout-card layout_type: custom:grid-layout layout_options: grid-template-columns: 95% 5% grid-template-rows: auto grid-template-areas: | "left right" cards:

Is it my coding so something with the card?

wassy92x commented 4 months ago

Unfortunately I can't confirm, that your indentation is correct. Please edit your comment and make sure that your config is correctly formatted by using three ` in the beginning and three ` after your code block.

wgumaa commented 4 months ago

Have done so now.

wgumaa commented 4 months ago

Figured it out. It was indentation starinting with weekday anf the removal of null from dateFormat.