Repeating days limited to 14 days?

Discussion for TimeTrex open source community developers.
Locked
jreade
Posts: 27
Joined: Wed Dec 17, 2008 1:42 pm

Repeating days limited to 14 days?

Post by jreade »

Is there a reason why the repeating days is limited to 14? Or was that just because the developers thought it would be best to limit it to that.

If I change the following code in EditSchedule.php

if ( $data['repeat'] > 14 ) {
$data['repeat'] = 14;
}

to say... 28 instead would that mess anything else up?

Thank you!
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

No, there are no harmful side effects of making that change, except if you make an error/typo and repeat for more days then you originally intended.

Now that TimeTrex v2.2.18 has the Punch List page which allows for mass deleting of punches/schedules, even if an error is made its easy to correct them.
Locked