It uses a timer to launch the notificatoon at the right time.

If it didn’t work it’s either a bug in Joplin or in the OS notification system.