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
Feature request: display %syshour% %sysmin% %syssec% as integers with leading 0 #2991
Comments
The variables you want, are already present as can be seen on the system variables page:
For example |
Hi TD-er, Ok, so just the documentation needs to be updated then. Thanks! https://www.letscontrolit.com/wiki/index.php/ESPEasy_System_Variables |
Ok, so just the documentation needs to be updated then. [x] Done. BTW, the %sysyear_0% var is amusing. Would have been useful a few centuries ago.
|
OK, thanks Thomas! |
Well we plan on a long running project :) |
how to add 10micro bits to 100 nano bits ? :) |
Or even better, multiply them :) |
Hello,
I like to have my LCD2004 in dutch language and for time annotation we like to use "15u00" for 3PM.
According to the documentation https://www.letscontrolit.com/wiki/inde ... _Variables the notation should be like this:
%syshour% Current hour (hh)
%sysmin% Current minute (mm)
When I use the following line in the LCD2004 config:
%sysweekday_s% %sysday%/%sysmonth%/%sysyear% %syshour%u%sysmin%
the notation is 0u1 instead of 00u01 what I'm expecting.
Suggestion: display hours, minutes, and seconds under value of 10 as 01, 02 , 03, 04 etc.
CFR: https://www.letscontrolit.com/forum/viewtopic.php?p=43729#p43729
The text was updated successfully, but these errors were encountered: