Closed wal0x closed 8 months ago
Is there any update or a workaround for this? I'm running into the same issue on iOS.
closing due to the lack of sample app reproducing the issue if the issue is still present, please, report it on https://github.com/ionic-team/capacitor-plugins/issues and provide a sample app
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
Android
Current Behavior
When I schedule a local notification at a specific time, let's say 23h00, while the phone is on 17h59 UTC, and I change the timeZone manually to UTC+4 so the phone's time become 22h59. The local notification does not trigger when the phone arrive to 23h00 on the new timezone.
Expected Behavior
Local notification should be triggered at the new 23h00
Code Reproduction
Other Technical Details
npm --version
output: 6.14.8node --version
output: v12.19.0pod --version
output (iOS issues only):Additional Context
At first I was using LocalNotificationSchedule.at like :
and I thought that the problem is due to the fact that I pass a Javascript Date object containing already a Timezone. So I switched to use LocalNotificationSchedule.on as above.