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 /plugins/weblog/weblog.cpp | |
parent | 42d125f1b9e44914972e490fe0c92b74d0a74cf2 (diff) |
No time spec
Diffstat (limited to 'plugins/weblog/weblog.cpp')
-rw-r--r-- | plugins/weblog/weblog.cpp | 3 |
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; |