Comments (4)
It probably just needs a simple change here:
lovelace-posten-card/src/posten-utils.ts
Lines 58 to 59 in 3a00f67
The format has changed so the dates are now formatted as "2023-06-23"
I just don't know the code well enough to create an actual PR that I can be sure will work.
from lovelace-posten-card.
I tried setting the date_format to YYYY-MM-DD in the yaml-config, but no dice. I guess we either fix the code, or fix this implementation of fetching the dates so it has the correct URL. Or something.
Or someone write a template sensor that rewrites the "Når posten kommer"-sensor to a lovelace-posten-card compatible format
from lovelace-posten-card.
I think date_format only affects how the date i displayed in the card, not what it looks for in the posten-sensor.
Seems like the author of the card has not been active on github since March 2022:
https://github.com/ezand?tab=overview&from=2022-03-01&to=2022-03-31
So someone with more typescript experience than me should probably fork the code to release a new version...
from lovelace-posten-card.
I submitted a PR for his other project successfully last year, so I assume/hope it's just a matter of time. If someone can submit a PR then it should get merged. @ezand , you still alive? :-)
from lovelace-posten-card.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-posten-card.