-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add substitute period validity range to schedule calculations
This was two birds with one stone, first of all the initial vsf.validity_start and vsf.validity_end were wrong, and caused the substitute operating day to show the validity of the target day instead of the superseded_date. But also now we have the substitute operating period implemented and those can last multiple days and that is the real validity range. Also added the used internal_utils functions to calculate the begin and end date here. Resolves HSLdevcom/jore4#1390
- Loading branch information
1 parent
a3c289f
commit e7004b6
Showing
4 changed files
with
69 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 16 additions & 11 deletions
27
migrations/generic/timetables/1000000000000_R_before_migrate/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters