Update datetimes.Rmd (#412)

Correct error where "appears" is used for a list - should be "appear".
This commit is contained in:
jonathanflint 2016-10-03 13:18:05 +01:00 committed by Hadley Wickham
parent 403710f477
commit 98dc37c2f4
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ They work as follows.
### From strings
Date/time data often comes as strings. You've seen one approach to parsing strings into date-times in [date-times](#readr-datetimes). Another approach is to use the helpers provided by lubridate. They automatically work out the format once you specify the order of the component. To use them, identify the order in which year, month, and day appears in your dates, then arrange "y", "m", and "d" in the same order. That gives you the name of the lubridate function that will parse your date. For example:
Date/time data often comes as strings. You've seen one approach to parsing strings into date-times in [date-times](#readr-datetimes). Another approach is to use the helpers provided by lubridate. They automatically work out the format once you specify the order of the component. To use them, identify the order in which year, month, and day appear in your dates, then arrange "y", "m", and "d" in the same order. That gives you the name of the lubridate function that will parse your date. For example:
```{r}
ymd("2017-01-31")