HABmin icon indicating copy to clipboard operation
HABmin copied to clipboard

DateTime format in .items file is not honored

Open tiny-tinker opened this issue 8 years ago • 0 comments

So I have these items:

DateTime 	Now  		"Date and Time [%1$tA, %1$tm.%1$td %1$tR]"  { channel="ntp:ntp:local:dateTime" }

DateTime 	Sunrise_Time    "Sunrise [%1$tH:%1$tM]"       { channel="astro:sun:home:rise#start" }
DateTime 	Sunset_Time     "Sunset [%1$tH:%1$tM]"        { channel="astro:sun:home:set#start" }

And this .sitemap:

    Frame label="Date" {
        Text item=Now icon="clock"
    }


    Frame label="Sun" {
        Text item=Sunrise_Time
        Text item=Sunset_Time

    }

And they look fine in the OpenHab mobile and in the BasicUI: image

But in habmin, the date format is not honored: image

I was pulling my last few hairs out trying to figure out what was wrong as the docs all said I was doing it right, but then I happened to look at it in the mobile app and it looked fine.

tiny-tinker avatar Sep 07 '17 19:09 tiny-tinker