Skip to content

Commit

Permalink
[chromecast] Added pattern for DateTime channel types (openhab#11694)
Browse files Browse the repository at this point in the history
* Added pattern for DateTime channel types

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
  • Loading branch information
cweitkamp authored and andan67 committed Nov 5, 2022
1 parent 14af5d2 commit 4b52c73
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@
<item-type>DateTime</item-type>
<label>Broadcast Date</label>
<description>The broadcast date of the currently playing media</description>
<state readOnly="true"/>
<category>Calendar</category>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td"/>
</channel-type>

<channel-type id="composer" advanced="true">
Expand All @@ -258,7 +259,8 @@
<item-type>DateTime</item-type>
<label>Creation Date</label>
<description>The creation date of the currently playing media</description>
<state readOnly="true"/>
<category>Calendar</category>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td"/>
</channel-type>

<channel-type id="discNumber" advanced="true">
Expand Down Expand Up @@ -300,7 +302,8 @@
<item-type>DateTime</item-type>
<label>Release Date</label>
<description>The release date of the currently playing media</description>
<state readOnly="true"/>
<category>Calendar</category>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td"/>
</channel-type>

<channel-type id="seasonNumber" advanced="true">
Expand Down

0 comments on commit 4b52c73

Please sign in to comment.