diff --git a/Boost-datetime-Examples-Translated.md b/Boost-datetime-Examples-Translated.md index 5655020..ddb9b63 100644 --- a/Boost-datetime-Examples-Translated.md +++ b/Boost-datetime-Examples-Translated.md @@ -363,7 +363,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to: using namespace date; auto zone = current_zone(); auto d = year_month_day{floor( - zone->to_local(system_clock::now()).first)}; + zone->to_local(system_clock::now()))}; auto d2 = d + months{1}; if (!d2.ok()) d2 = d2.year()/d2.month()/last; // boost snaps to last