Closed jcrodriguez1989 closed 5 months ago
Today is 02/29, and when subtracting years, it returns NA's.
> lubridate::today() - lubridate::years(1) [1] NA > lubridate::today() - lubridate::years(4) [1] "2020-02-29"
My bad, %m-% already handles this 💪 You're awesome!!
%m-%
> today() %m-% years(1) [1] "2023-02-28"
Today is 02/29, and when subtracting years, it returns NA's.