diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index 0eeba3d..39b9b77 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -76,8 +76,8 @@ If you need to find out the current time where you _aren't_, then that is a simp int main() { - std::cout << date::make_zoned("Asia/Shanghai", - std::chrono::system_clock::now()) << '\n'; + std::cout << date::zoned_time{"Asia/Shanghai", + std::chrono::system_clock::now()} << '\n'; } ```