-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When a time_entry is being created, we are saving the timezone_offset in the database (#190)
We need to implement an Azure function that is going to run each hour, using a schedule like this :
00:59
01:59
02:59
...
23:59
This Azure function is going to read all the time entries that have no value for time-out.
We need to use the timezone_offset to determine if the entry was created in a timezone where is midnight (at the moment o the Azure function execution). If true, we need to force a clock-out, if not we have to do nothing.
Note
Use a schedule syntax to run the Azure function. Check the server timezone and apply the offset as needed.
Coordinate this work with @fabidick22 to implement the required pipelines (create a ticket with the description once you have decided what to do and assign it to @fabidick22 )