I’m away from a computer, but it looks like you still have the
scale_x_datetime(date_breaks = "3 days",date_labels = "%d/%m/%Y %H:%M:%S", minor_breaks = NULL )
term, which is looking for date-time data, which we’re no longer using in this approach. Rather, we’re breaking the date apart so that the facet relates to the year-month, and the x axis relates to the day of the month.
It looks like here the facet should still use the localminute variable (which holds year, month, day, time) instead of the day_dec variable (which just holds day and time)...
facet_wrap(~floor_date(day_dec,'1 month'), scales = "free_x",labeller = label_both)