Hello Lon
It uses your site timezone for calculating. Maybe you have wrong site timezone setup? Could you please go to System -> Global Configuration, look at Server tab, set Server Timezone parameter to your timezone
After that, it should work as expected
Regards,
Tuan