From 851f4d84d4b8dcff032f5304235917bc58e1e46e Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 30 Apr 2020 08:34:15 +0200 Subject: No time spec --- plugins/weblog/weblog.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins') diff --git a/plugins/weblog/weblog.cpp b/plugins/weblog/weblog.cpp index d0ef811..688f574 100644 --- a/plugins/weblog/weblog.cpp +++ b/plugins/weblog/weblog.cpp @@ -124,9 +124,6 @@ namespace { std::string pathname{path.filename().string()}; // ISO date std::string date{pathname.substr(0, 4) + "-"s + pathname.substr(4, 2) + "-"s + pathname.substr(6, 2)}; - std::string time{pathname.substr(9, 2) + ":"s + pathname.substr(11, 2)}; - if (time != "00:00") - date += " " + time; result["Date"] = date; -- cgit v1.2.3