]> git.basschouten.com Git - openhab-addons.git/commitdiff
[mqtt] fixed Hex/Oct formatting, resulting values were interchanged (#8730)
authorArmin Stebich <github@lordofbikes.de>
Mon, 12 Oct 2020 14:41:32 +0000 (16:41 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Oct 2020 14:41:32 +0000 (07:41 -0700)
Signed-off-by: Armin Stebich <home@mail.lordofbikes.de>
bundles/org.openhab.binding.mqtt.generic/README.md

index d5e4bfa1fb2d15db6e8f97e851d22dc7198a476e..6bac6e4d9057aa51d9ee871c44b3c71d4dfbcd7d 100644 (file)
@@ -260,7 +260,7 @@ Here are a few examples:
 * Apply a prefix: "myprefix%s"
 * Apply a suffix: "%s suffix"
 * Number precision: ".4f" for a 4 digit precision. Use the "+" flag to always add a sign: "+.4f".
-* Decimal to Hexadecimal/Octal/Scientific: For example "60" with "%x", "%o", "%e" becomes "74", "3C", "60".
+* Decimal to Hexadecimal/Octal/Scientific: For example "60" with "%x", "%o", "%e" becomes "3C", "74", "60".
 * Date/Time: To reference the item state multiple times, use "%1$". Use the "tX" conversion where "X" can be any of [h,H,m,M,I,k,l,S,p,B,b,A,a,y,Y,d,e].
   - For an output of *May 23, 1995* use "%1$**tb** %1$**te**,%1$**tY**".
   - For an output of *23.05.1995* use "%1$**td**.%1$**tm**.%1$**tY**".