From d6a46d9afc2e95fc9e86da4f181608c553f2ff25 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sat, 21 May 2016 11:26:19 -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 db963e2..23794be 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -328,8 +328,8 @@ This example demonstrates both some simple date arithmetic, and how to handle di One first creates the local time, and then pairs that to the time zone "America/Los_Angeles" using `make_zoned`. Then add 2Gs to the `sys_time` (not the `local_time`) of `birthday`. This outputs: -`born : 1954-04-24 10:03:00 PST` -`2Gs birthday: 2017-09-08 14:36:20 PDT` + born : 1954-04-24 10:03:00 PST + 2Gs birthday: 2017-09-08 14:36:20 PDT Note that without handling the timezone correctly, this result would be an hour off (2017-09-08 13:36:20) because the birth date falls in PST, and the celebration date falls in PDT.