I've a program that divides the datetime in minutes - hours. It works well in Windows but trying it on server or WSL, it didn't work
filter_by = pd.Timestamp("today").floor("H") - pd.offsets.Minute(
int(time)
)
Same code running in WSL, I get
2021-11-17T17:45:00.000000000
While running in Windows, I get the correct time
2021-11-17T23:30:00.000000000
I've changed the Ubuntu time settings as well to Asia/Kolkata, Windows is on Asia/Kolkata still it didn't work.
Any suggestions?