Enhanced readme

This commit is contained in:
tastytea 2019-02-12 03:20:09 +01:00
parent 3af341cb95
commit 796ef06329
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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";