Giter Club home page Giter Club logo

Comments (9)

fribse avatar fribse commented on June 27, 2024

Mine is shown in 24-hr format, not sure if it's fixed, or it is just using the setting in HA?

from weather-card.

jokerigno avatar jokerigno commented on June 27, 2024

Same "issue".

Italian language.

from weather-card.

disrupted avatar disrupted commented on June 27, 2024

same here

from weather-card.

kajhoej avatar kajhoej commented on June 27, 2024

Same issue here. Log book and History in HA are all 24H times. Only this weather card seems to be showing in AM/PM

from weather-card.

Martorias avatar Martorias commented on June 27, 2024

Same here, can't find setting to change it.

from weather-card.

awolkers avatar awolkers commented on June 27, 2024

Same here, also the wind direction is shown in English while the weekdays are shown in Dutch. I set Dutch as my language for HA.

from weather-card.

exetico avatar exetico commented on June 27, 2024

Same issue here, with AM/PM.

What to do? :-)

from weather-card.

fohlsso2 avatar fohlsso2 commented on June 27, 2024

Not sure it is the fault of this card as I have seen the same issue in more places, but until it is fixed it is possible to locally do a workaround.

In the file weather-card.js the string toLocaleTimeString() are in two places, edit it to contain you selected country code, for me that is toLocaleTimeString('sv-SE'). You need to do the same to the file inside the archive (weather-card.js.gz)

from weather-card.

oz9els avatar oz9els commented on June 27, 2024

The AM/PM is a Home Assistant "feature" - It has to do with your browser/OS-setting. (try fiddling with it, hopefully it will work) Look at the original weather card - it also has the AM/PM ;-)
Is is on the bug-list/feature request list of Home Assistant.

from weather-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.