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>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
  • Loading branch information
cweitkamp authored and andrasU committed Nov 12, 2022
1 parent 30770e1 commit 10f3d1a
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 10f3d1a

Please sign in to comment.