From 476f2c82824161bb0d5cd2daf1bb65ff0daeaac4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stevens <51374986+JeffreyRStevens@users.noreply.github.com> Date: Mon, 15 Aug 2022 08:50:47 -0500 Subject: [PATCH] Correct `lubridate::as_datetime()` (#1060) Correct `lubridate::as_date_time()` to `lubridate::as_datetime()` (unless this is a new function name coming up in lubridate). --- vectors.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vectors.qmd b/vectors.qmd index eabf0bf..5443dcc 100644 --- a/vectors.qmd +++ b/vectors.qmd @@ -722,7 +722,7 @@ attributes(y) POSIXlts are rare inside the tidyverse. They do crop up in base R, because they are needed to extract specific components of a date, like the year or month. Since lubridate provides helpers for you to do this instead, you don't need them. -POSIXct's are always easier to work with, so if you find you have a POSIXlt, you should always convert it to a regular date time with `lubridate::as_date_time()`. +POSIXct's are always easier to work with, so if you find you have a POSIXlt, you should always convert it to a regular date time with `lubridate::as_datetime()`. ### Tibbles