Skip to content

DateTime format in .items file is not honored #321

@tiny-tinker

Description

@tiny-tinker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions