diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index f739f74..7c5c6b5 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -335,6 +335,8 @@ to_time_point(components, tp); ``` + + ### Obtaining `y/m/d h:m:s` components from a `time_point` (by [ecorm](https://github.com/ecorm)) @@ -1688,7 +1690,8 @@ std::string exec_and_get_output(const char* cmd) return output; } -std::string get_xdg_download_folder(const std::string& suffix = "tzdata_alt") { +std::string get_xdg_download_folder(const std::string& suffix = "tzdata_alt") +{ std::string download_folder = "~/Downloads"; // common download folder by default std::string xdg_command = "xdg-user-dir DOWNLOAD"; std::string xdg_download_folder = exec_and_get_output(xdg_command.c_str());