Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTime format in .items file is not honored #321

Open
tiny-tinker opened this issue Sep 7, 2017 · 0 comments
Open

DateTime format in .items file is not honored #321

tiny-tinker opened this issue Sep 7, 2017 · 0 comments

Comments

@tiny-tinker
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant