See PR #1014 for inspiration.
Please add some suggestions for other conversions.
Current ideas:
24 hour clock time to 12 hour AM, PM
This would be great in an OLED display
Minutes to days (for uptime).
The 24h >>> 12AM/PM was never included in this commit.
Should it be included?
I've still to convert some parts to floats, as suggested by @Grovkillen documentation ;)
Yes I think it's needed for many users.
But who uses am/pm? I always wonder this when searching for the setting to change it to 24h mode ;)
Many US users... "Imperial" says it all :wink:
Its not absolutely necessary. Just a convenience for us Yankees. :)
It's already building here... ;)
Done :)
Now cherrypick to v2.0
AM/PM is supported with a new system variable :
https://www.letscontrolit.com/wiki/index.php/ESPEasy_System_Variables