summaryrefslogtreecommitdiffhomepage
path: root/plugins
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-30 08:34:15 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-30 08:34:15 +0200
commit851f4d84d4b8dcff032f5304235917bc58e1e46e (patch)
treedffb2e455858dd8175329fb38eeee5aae4cd7a77 /plugins
parent42d125f1b9e44914972e490fe0c92b74d0a74cf2 (diff)
No time spec
Diffstat (limited to 'plugins')
-rw-r--r--plugins/weblog/weblog.cpp3
1 files changed, 0 insertions, 3 deletions
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;