StanfordSpezi / SpeziScheduler

Scheduler Module for the Stanford Spezi Ecosystem
https://swiftpackageindex.com/StanfordSpezi/SpeziScheduler/documentation/
MIT License
3 stars 3 forks source link

Time Zone Configuration #22

Open PSchmiedmayer opened 11 months ago

PSchmiedmayer commented 11 months ago

Problem

Some tasks are time-zone independent, while others should adjust to the time zone based on calendar components (e.g., every day at 7 PM).

Solution

Add a configuration to make the time zone changes configurable: Either always use the same time on a day independent of the time zone or adjust the time to the current time zone. We suggest making this a configuration that can be defined and dynamically changed on a schedule (e.g., a developer can add a toggle per task/schedule that would change the presentation based on the value on the toggle).

Code of Conduct