diff --git a/Boost-datetime-Examples-Translated.md b/Boost-datetime-Examples-Translated.md index 804b3e5..86f721f 100644 --- a/Boost-datetime-Examples-Translated.md +++ b/Boost-datetime-Examples-Translated.md @@ -386,14 +386,16 @@ look if ported to this library. using namespace std::chrono; using namespace date; // get the current time from the clock -- one second resolution - auto now = floor(current_zone()->to_local(system_clock::now()).first); + auto now = floor(current_zone()-> + to_local(system_clock::now()).first); // Get the date part out of the time auto today = floor(now); auto tomorrow = today + days{1}; // midnight for (auto i = now; i < tomorrow; i += 1h) std::cout << i << '\n'; auto remaining = tomorrow - now; - std::cout << "Time left until midnight: " << make_time(remaining) << '\n'; + std::cout << "Time left until midnight: " + << make_time(remaining) << '\n'; }