diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index 5d26bae..fd6c799 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -2373,9 +2373,10 @@ tzdb_manager(std::atomic& run) using namespace date; // Get the current UTC time for today's local 02:00, approximation is ok auto tz = current_zone(); - zoned_time check_at{tz, floor(zoned_time{tz, system_clock::now()} - .get_local_time()) + 2h, - choose::latest}.get_sys_time(); + auto check_at = zoned_time{tz, + floor(zoned_time{tz, system_clock::now()} + .get_local_time()) + 2h, choose::latest} + .get_sys_time(); // Initialize clean-trigger for several years in the future auto clean_at = check_at + days{1000}; while (run)