Moderators: Developer, Contributor
function gantt_adjust_working_day( $p_date ){
define ( GANTT_CHART_DAY_SUNDAY, 0);
define ( GANTT_CHART_DAY_SATURDAY, 6);
$t_one_day_in_seconds = 1 * 24 * 3600;
$t_day = strftime( "%w", $p_date );
switch ( $t_day ){
case GANTT_CHART_DAY_SUNDAY:
$t_adjusted_days = 0;
break;
case GANTT_CHART_DAY_SATURDAY:
$t_adjusted_days = 0;
break;
default:
$t_adjusted_days = 0;
break;
}
return $p_date + ($t_adjusted_days * $t_one_day_in_seconds);
}Elyes wrote:Hello,
I'm wondering whether we can add the relationship (Parent Of, Child Of) between issues in the GANTT chart.
Or something like an ordinal relationship (One issue can't start before some other one has finished).
Elyes wrote:I'm wondering whether we can add the relationship (Parent Of, Child Of) between issues in the GANTT chart.
Or something like an ordinal relationship (One issue can't start before some other one has finished).
Users browsing this forum: Bing [Bot] and 2 guests