Need help getting DateTime item formatted. I’ve been trying various examples, but no success.
Mike_Last_Triggered is a DateTime item. All I get for the date-time item is:
2021-02-02T14:01:33.195624-0500 .
rule “Mike’s lastupdate”
when
Item Mike changed from ON to OFF
then
Mike_Last_Triggered.postUpdate
end
Thanks for you help Sunny. I entered that in the meta data ‘State Description’ like you said. On the item in Openhab3 it shows “Tuesday 02.02,2021 02:01 PM”. Which is great, but when I go to HABPanel it’s totally empty. It neither shows what I had before or what it should show on the item now.
I haven’t used HABPAnel so am unsure as to how it retrieves the Item value to display. The built-in widgets for the new UI should use this new value, if not you access it using an expression like ‘itemName.displayState’
Perhaps someone who is using HABPanel can provide you a proper answer.