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: Michael Schmidt <mi.schmidt.83@gmail.com>
  • Loading branch information
cweitkamp authored and mischmidt83 committed Jan 9, 2022
1 parent 7481158 commit e4faa04
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 e4faa04

Please sign in to comment.