jclarke0000 / MMM-DarkSkyForecast

Magic Mirror module to display weather information using the Dark Sky API
84 stars 68 forks source link

label_days and label_timeFormat always UpperCase? #16

Open kikig1 opened 5 years ago

kikig1 commented 5 years ago

The label_days and label_timeFormat are always Formatted UpperCase, e.g. "MON" instead of "Mon". Ist it possible to Remove the Ucase? I can't find it in the Code, bur i'm not good in js ;)

btw: The Module is great"

bomma commented 5 years ago

The label_days and label_timeFormat are always Formatted UpperCase, e.g. "MON" instead of "Mon". Ist it possible to Remove the Ucase? I can't find it in the Code, bur i'm not good in js ;)

btw: The Module is great"

In css/custom.css:

.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .time,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .day-name {
  text-transform: capitalize;
}

.MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span {
  text-transform: capitalize;
}

Use text-transform: lowercase for lowercase.