Updated Examples and Recipes (markdown)

Howard Hinnant
2016-07-08 12:23:36 -04:00
parent 8f09e07112
commit 14ba7c738c

@@ -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).