JJTech0130 / pypush

[being rewritten] Cross-platform iMessage POC
https://discord.gg/BVvNukmfTC
Other
3.52k stars 397 forks source link

Fix time issue with cronreg #78

Closed Cypheriel closed 7 months ago

Cypheriel commented 7 months ago

This PR aims to fix an issue with conversion between local time and UTC. This is done by using .replace(datetime.timezone.utc), instead of .astimezone() which carries out an unwanted conversion.