Add full support for all strftime formats (especially without leading 0)
Describe the problem you have/What new integration you would like The strftime will not accept all formats to format time. For example all formats to delete leading '0' from days or of the month or hours is not implemented.
Please describe your use case for this integration and alternatives you've tried: it.strftime(0, 0, id(font), "%-d", id(time).now()); generates errors or NAN's because ESPhome does not accept format "%-d", which normally would cancel the leading 0 before the date. "$#d", generally used for Windows, does not work either.
Additional context It would be great if this was implemented, it would greatly improve how dates and time can be displayed.
This would be great. Have spent hours on this to no avail. Not helped by a 50min compile time on a HA Green when a full rebuild is needed, which is frequent when trying to solve matters like this.
Fri 01-Mar-2024 06:49 PM is too lengthy on a small display and zeroes just make it harder to read. Fri Mar 1, 2024 6:49 PM would be so much better.
Zeroes work for 24 hour time but not the normal 12 that most people use. No idea why anyone would want a leading zero on a month or day unless it is in the short form like 01/01/2024.