From 0f751b0c666b2436dfb427542faea81bc9fb57dd Mon Sep 17 00:00:00 2001 From: Olaf Wintermann Date: Tue, 7 Jul 2026 21:47:12 +0200 Subject: [PATCH] use the settings dateFormat in the feed_info label --- .../src/main/kotlin/de/unixwork/rssreader/FeedList.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}"); } ?: { -- 2.52.0