Fixed to correct start date for calendar.
This commit is contained in:
parent
d452518621
commit
0ec0428f19
@ -221,7 +221,7 @@ Service GetShiftByDate(Date, GenerateFlag)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
DateConv = Iconv(Date, "DT")
|
DateConv = Iconv(Date, "DT")
|
||||||
CalStartDate = 18998; *Arbitrary Start Date to base calendar off of. Jan 12, 2020 Beginning of short shift 1
|
CalStartDate = 19005; *Arbitrary Start Date to base calendar off of. Jan 12, 2020 Beginning of short shift 1
|
||||||
DaysSinceStart = SRP_DateTime("DaySpan", CalStartDate, DateConv, 0)
|
DaysSinceStart = SRP_DateTime("DaySpan", CalStartDate, DateConv, 0)
|
||||||
WeeksSinceStart = SRP_Math("FLOOR", DaysSinceStart / 7)
|
WeeksSinceStart = SRP_Math("FLOOR", DaysSinceStart / 7)
|
||||||
WeekType = ''
|
WeekType = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user