I tried using the lubridate::floor_date
function to get the first date of the season in which my input date is, for ex.:
x <- ymd_hms("2008-08-03 12:01:59.23")
this date is in the summer of 2008, so starting 21-06-2008 and ending 20-09-2008. According to this i expected that by running this
lubridate::floor_date(x, "season")
i would get this
21-06-2008
but instead i get this
"2008-06-01 UTC"
which is not the beginning of the summer of 2008.
Am I using the wrong function, or is there another way to achieve what I'm trying to get ?