From: Olaf Wintermann Date: Tue, 7 Jul 2026 19:47:12 +0000 (+0200) Subject: use the settings dateFormat in the feed_info label X-Git-Url: https://uap-core.de/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=rssreader.git use the settings dateFormat in the feed_info label --- diff --git a/rss-application/src/main/kotlin/de/unixwork/rssreader/FeedList.kt b/rss-application/src/main/kotlin/de/unixwork/rssreader/FeedList.kt index b01d275..3f88564 100644 --- a/rss-application/src/main/kotlin/de/unixwork/rssreader/FeedList.kt +++ b/rss-application/src/main/kotlin/de/unixwork/rssreader/FeedList.kt @@ -87,7 +87,7 @@ class FeedList(window: MainWindow) : Document() { currentFeed = feed feed.lastUpdate?.let { - val formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss") + val formatter = DateTimeFormatter.ofPattern(App.settings.dateFormat) .withZone(ZoneId.systemDefault()) feed_info.setString("Last update: ${formatter.format(it)}"); } ?: {