diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-30 08:34:15 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-30 08:34:15 +0200 |
commit | 851f4d84d4b8dcff032f5304235917bc58e1e46e (patch) | |
tree | dffb2e455858dd8175329fb38eeee5aae4cd7a77 | |
parent | 42d125f1b9e44914972e490fe0c92b74d0a74cf2 (diff) |
No time spec
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | plugins/weblog/weblog.cpp | 3 |
2 files changed, 0 insertions, 6 deletions
@@ -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; |