-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default date formatting #89
Comments
i initially wanted to do it, but figured that certain languages are not supported in date-fns. with your finding in #87 i realised that for other languages (czech, korean) the ISO 639-1 is wrong, hence translations via date-fns were not working. i will consider it an enhancement and might implement it in future |
What about keep the default as it is now, but if date_pattern has some value configured by the user, then remove the hardcoded weekday? Default value will practically be like eee, P |
I have this same issue. Is there a workaround to fix the date pattern? |
@claytonium13 I ended up using PPP which just shows short version of the week day. Works perfectly. |
same issue here with "PPPP" |
Same issue here with EEEE MMMM d |
i see that this is an annoying issue. though fixing it would break downwards compatibility, as this might break the card for existing users who rely on the fact that the day is prepended to the date. i'll add this ticket as a candidate for a new major version (2.0.0) |
I am having the same issue with PPPP |
Hello. I can't see why is this such a breaking change that would mess the UI but removing this line:
from You can use the HA File Editor to edit the file from the web browser. After that you might need to suffix the resources entry with something like Example:
Result (date_pattern: PPPP): |
same issue here, just used PPP. definitely not a huge deal. |
hey there, i just released a beta 2.0.0 which addresses the issue of having a hard coded weekday prepended to the date. please carefully read the changelog. there are other breaking changes, which might require your attention. i'd appreciate some feedback whether this release solves your problems. cheers |
I installed the beta and all I had to do was replace PPP with DDDD and it is perfect. Thank you! |
released 2.0.0 |
One downside I came across with the Luxon switch is that ordinals are no longer supported. |
can you call get_forecast service and paste the returned yaml here? i have the feeling that the weather provider uses a different date format than the other weather providers |
As it is possible to format the date (great feature :-) ), is it possible to change the default formatting to "eee, P" and remove the hardcoded weekday at the start of the line?
The text was updated successfully, but these errors were encountered: