From: Christoph Weitkamp Date: Sun, 21 Nov 2021 14:56:13 +0000 (+0100) Subject: [feed] Change patter for DateTime channel types to be considered by i18n-tool (#11618) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=859e255186cda1f16410842bfea0b815e283a6e6;p=openhab-addons.git [feed] Change patter for DateTime channel types to be considered by i18n-tool (#11618) Signed-off-by: Christoph Weitkamp --- diff --git a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties index a2fcf337ea..b8cfef11b4 100644 --- a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties +++ b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties @@ -23,8 +23,10 @@ channel-type.feed.description.label = Description channel-type.feed.description.description = Description of the feed. channel-type.feed.last-update.label = Last Update channel-type.feed.last-update.description = The last update date of the feed. +channel-type.feed.last-update.state.pattern = %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS channel-type.feed.latest-date.label = Latest Published Date channel-type.feed.latest-date.description = Contains the published date of the last feed entry. +channel-type.feed.latest-date.state.pattern = %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS channel-type.feed.latest-description.label = Latest Description channel-type.feed.latest-description.description = Contains the description of the last feed entry. channel-type.feed.latest-enclosure.label = Latest Enclosure diff --git a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml index 017295641e..188872273b 100644 --- a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml @@ -62,7 +62,7 @@ DateTime Contains the published date of the last feed entry. - + @@ -104,7 +104,7 @@ DateTime The last update date of the feed. - +