From db712d4585ef0115698b5146579ad8a813380d25 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Tue, 24 Jun 2025 19:09:43 -0400 Subject: [PATCH] Fix date in detail window, and update lwsf pin --- external/lwsf | 2 +- src/views/history.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/lwsf b/external/lwsf index 3e453a2..b365726 160000 --- a/external/lwsf +++ b/external/lwsf @@ -1 +1 @@ -Subproject commit 3e453a2a027eb61cc696d2a58b62636fab29f974 +Subproject commit b365726cbf28f946c119561effb0641b8fcce6fb diff --git a/src/views/history.cpp b/src/views/history.cpp index 0b37b29..12f1b1c 100644 --- a/src/views/history.cpp +++ b/src/views/history.cpp @@ -155,7 +155,7 @@ namespace lwcli { namespace view throw std::runtime_error{"gmtime failure"}; char buf[100] = {0}; - if (sizeof(buf) <= std::strftime(buf, sizeof(buf), "%B %m %Y %I:%M:%S", std::addressof(expanded))) + if (sizeof(buf) <= std::strftime(buf, sizeof(buf), "%B %d %Y %I:%M:%S UTC", std::addressof(expanded))) throw std::runtime_error{"strftime failed"}; timestamp_ = {ftxui::text(_("Timestamp: ")), ftxui::text(buf)}; }