Error generating next available episode time slot #107

Closed
opened 2023-05-18 12:55:20 +00:00 by rho_n · 1 comment
Owner

In the template code, was adding 1 day to the day field used in the Date.Delta_Days template function. This works until the date of the next slot is the last day of a month. The +1 to the day causes an error (i.e. 32 days in may).

Fix by adding 1 day to the date returned in the SQL and remove adding a day in the Delta.Days argument.

In the template code, was adding 1 day to the day field used in the Date.Delta_Days template function. This works until the date of the next slot is the last day of a month. The +1 to the day causes an error (i.e. 32 days in may). Fix by adding 1 day to the date returned in the SQL and remove adding a day in the Delta.Days argument.
rho_n added the
Bug Found
label 2023-05-18 12:55:20 +00:00
rho_n self-assigned this 2023-05-18 12:55:20 +00:00
Author
Owner
[Merged to main](https://repo.anhonesthost.net/rho_n/hpr_generator/commit/7dca1d75cb69239b94a653b92d5e615656a320dc)
rho_n closed this issue 2023-05-18 13:10:37 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rho_n/hpr_generator#107
No description provided.