From 796ef06329229488e5c55d149c6f1fb3944bad15 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 12 Feb 2019 03:20:09 +0100 Subject: [PATCH] Enhanced readme --- README.adoc | 8 +++++--- feiertagebot.cpp | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.adoc b/README.adoc index d4f74f9..f685d68 100644 --- a/README.adoc +++ b/README.adoc @@ -1,7 +1,9 @@ = feiertagebot *feiertagebot* ist ein Mastodon-bot, der über anstehende feiertage in -Deutschland informiert. Die daten stammen von https://feiertage-api.de/. +Deutschland informiert. Die daten stammen von https://feiertage-api.de/. Nach +dem aufruf wird überprüft, ob heute oder morgen ein gesetzlicher feiertag ist. +Wenn ja, wird ein post abgesetzt. == Installation @@ -10,7 +12,7 @@ Deutschland informiert. Die daten stammen von https://feiertage-api.de/. Gentoo ebuilds gibt es in meinem https://schlomp.space/tastytea/overlay[repository]. -=== Vom Quellcode +=== Aus den quellen ==== Klone den quellcode mit git @@ -42,7 +44,7 @@ make make install ---- -.cmake options: +.cmake optionen: * `-DCMAKE_BUILD_TYPE=Debug` für ein debug-build == Benutzung diff --git a/feiertagebot.cpp b/feiertagebot.cpp index a5df336..ce9eaf3 100644 --- a/feiertagebot.cpp +++ b/feiertagebot.cpp @@ -178,7 +178,7 @@ int main() { continue; } - output += "Am " + current_day.date + " ist "+ current_day.description + " in "; + output += "Am " + current_day.date + " ist " + current_day.description + " in "; if (std::find(current_day.regions.begin(), current_day.regions.end(), "NATIONAL") != current_day.regions.end()) { output += "Deutschland.\n";