by Carmine Adinolfi
Version 4 (September 10, 2024)
Download (21 downloads)
Performs a countdown to a specified end time, notifying at predefined intervals.
The process begins by calculating the remaining time until the specified end time. It utilizes an ordered array of alerts (as defined in block 10) to trigger notifications at progressive countdown intervals, indicating the remaining time before the deadline. Detailed logs are generated to monitor progress. Note that blocks 37, 49, and 51 require modifications for language adjustments.
**----Update 2024-SEP-10----**
The flow can be launched in multiple instances, each with a custom title for the countdown. The title will be announced along with the remaining time. For example, "5 minutes left until the break."
If `pickTime` returns a time that is before the current time, that time will be considered as belonging to the next day. (for example now=11pm picktime=1am. The 1am would be next day, so only left 2houres