From 14ba7c738cfa0777af00aac00635514741371cbe Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 8 Jul 2016 12:23:36 -0400 Subject: [PATCH] Updated Examples and Recipes (markdown) --- Examples-and-Recipes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index e68570c..e8c1fe5 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -143,7 +143,7 @@ Sometimes it is convenient to specify the time independent of either timezone. auto utc = sys_days{2016_y/jul/8} + 13h; auto ny = make_zoned("America/New_York", utc); - auto moscow = make_zoned("Europe/Moscow", etc); + auto moscow = make_zoned("Europe/Moscow", utc); I reordered the date to y/m/d just to show that I could. As long as the first unit is unambiguous (`year`, `month` or `day`), the following two are unambiguous (only `y/m/d`, `d/m/y` and `m/d/y` are accepted; all others are rejected at compile time).