summaryrefslogtreecommitdiffhomepage
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
parent42d125f1b9e44914972e490fe0c92b74d0a74cf2 (diff)
No time spec
-rw-r--r--TODO3
-rw-r--r--plugins/weblog/weblog.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/TODO b/TODO
index 44740ff..19b773c 100644
--- a/TODO
+++ b/TODO
@@ -1,7 +1,4 @@
-licence bsd
-
Speed up config.GetPath
-weblog: blättern
weblog: link consistency check (cron?)
weblog: style: zitate
Integrate into Debian: Package, License, Lintian, WNPP
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;