View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0013782 | CDash | (No Category) | public | 2012-12-10 08:57 | 2012-12-10 10:41 |
|
Reporter | Marco Clemencic | |
Assigned To | Julien Jomier | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 2.2 | |
|
Summary | 0013782: inconsistent last submission time for project and subprojects in the project dashboard |
Description | Hi,
when a project does have subprojects, the "Last submission" field in the project dashboard reports local time for the project and UTC for the subprojects, which is, at least, confusing also because the time zone is not printed.
I attached a small patch to make the returned value of SubProject->GetLastSubmission() consistent with Project->GetLastSubmission().
Cheers
Marco |
Tags | No tags attached. |
|
Attached Files | CDash.subproject_submission_time.patch [^] (474 bytes) 2012-12-10 08:57 [Show Content] [Hide Content]Index: models/subproject.php
===================================================================
--- models/subproject.php (revision 3287)
+++ models/subproject.php (working copy)
@@ -215,7 +215,7 @@
return false;
}
$project_array = pdo_fetch_array($project);
- return $project_array['submittime'];
+ return date(FMT_DATETIMESTD,strtotime($project_array['submittime']. "UTC"));
}
/** Get the number of warning builds given a date range */
|
|