cut datetime dropping timestamp in Windows but not in Ubuntu
I have a function that relies on cutting the datetime using temporal bins. Unfortunately, it's behaving differently in Ubuntu and Windows. Here's a reproducible example of the error (Instead of getting 2023-01-03 00:00:00 we get 2023-01-03). datetimes <- seq(from =…