From d9d8bccbe6e91733066f907740746b6461156438 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 19 Mar 2019 22:48:47 -0400 Subject: [PATCH] Updated Examples and Recipes (markdown) --- Examples-and-Recipes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index 4e101e1..6d1b0e1 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -137,8 +137,8 @@ main() { using namespace std::chrono; using namespace date; - auto ny = make_zoned("America/New_York", local_days{jul/8/2016} + 9h); - auto moscow = make_zoned("Europe/Moscow", ny); + zoned_time ny{"America/New_York", local_days{jul/8/2016} + 9h}; + zoned_time moscow{"Europe/Moscow", ny}; std::cout << ny << '\n'; std::cout << moscow << '\n'; }