From: Armin Stebich Date: Mon, 12 Oct 2020 14:41:32 +0000 (+0200) Subject: [mqtt] fixed Hex/Oct formatting, resulting values were interchanged (#8730) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=e0efd8438a30a513faf51c4ee13abbb74ec8c05b;p=openhab-addons.git [mqtt] fixed Hex/Oct formatting, resulting values were interchanged (#8730) Signed-off-by: Armin Stebich --- diff --git a/bundles/org.openhab.binding.mqtt.generic/README.md b/bundles/org.openhab.binding.mqtt.generic/README.md index d5e4bfa1fb..6bac6e4d90 100644 --- a/bundles/org.openhab.binding.mqtt.generic/README.md +++ b/bundles/org.openhab.binding.mqtt.generic/README.md @@ -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**".