typo in 16.4.5 Exercises 5 (#732)

This commit is contained in:
Zhuoer Dong
2020-01-16 02:42:24 +08:00
committed by Hadley Wickham
parent 5f85b4c592
commit 9dda73b31f

View File

@@ -498,7 +498,7 @@ knitr::include_graphics("diagrams/datetimes-arithmetic.png")
1. Write a function that given your birthday (as a date), returns
how old you are in years.
1. Why can't `(today() %--% (today() + years(1)) / months(1)` work?
1. Why can't `(today() %--% (today() + years(1))) / months(1)` work?
## Time zones