MantisBT - v3.0 Release | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001343 | v3.0 Release | [All Projects] General | public | 2013-06-30 05:06 | 2013-08-28 11:17 |
Reporter | opto | ||||
---|---|---|---|---|---|
Assigned To | caseydk | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | 3.0.0 | |||
Summary | 0001343: another place where end date = start + duration | ||||
Description | do_task_aed does not respect the user's set date diff between start and end but resets end to start + duration at this place: if (isset($hdependencies) && '' != $hdependencies) { // there are dependencies set! $nsd = new w2p_Utilities_Date($obj->get_deps_max_end_date($obj)); if (isset($start_date)) { $shift = $nsd->compare($start_date, $nsd); if ($shift < 1) { $obj->task_start_date = $nsd->format(FMT_DATETIME_MYSQL); $obj->task_start_date = $AppUI->formatTZAwareTime($obj->task_start_date, '%Y-%m-%d %T'); $ned = new w2p_Utilities_Date($obj->task_start_date); $ned->addDuration($obj->task_duration, $obj->task_duration_type); $obj->task_end_date = $ned->format(FMT_DATETIME_MYSQL); $obj->store(); } } IMHO, the day difference between start and end should be preserved, see my argument in the other bug report. Klaus | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2013-06-30 05:06 | opto | New Issue | |||
2013-07-25 21:05 | caseydk | Note Added: 0002966 | |||
2013-07-25 21:05 | caseydk | Status | new => resolved | ||
2013-07-25 21:05 | caseydk | Resolution | open => fixed | ||
2013-07-25 21:05 | caseydk | Assigned To | => caseydk | ||
2013-08-28 11:14 | caseydk | Fixed in Version | => 3.0.0 | ||
2013-08-28 11:17 | caseydk | Status | resolved => closed |