[evolvis-commits] r18184: javascript-control-datepicker pending merges:↵ Thorsten Glaser 2012-03-14 [#2897] render dates using the datepicker formatting routine
mirabilos at evolvis.org
mirabilos at evolvis.org
Wed Mar 14 19:58:24 CET 2012
Author: mirabilos
Date: 2012-03-14 19:58:24 +0100 (Wed, 14 Mar 2012)
New Revision: 18184
Modified:
trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php
Log:
javascript-control-datepicker pending merges:
Thorsten Glaser 2012-03-14 [#2897] render dates using the datepicker formatting routine
Modified: trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php 2012-03-14 18:58:18 UTC (rev 18183)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php 2012-03-14 18:58:24 UTC (rev 18184)
@@ -471,7 +471,9 @@
if ($display_col['summary'])
echo '<td class="separateRowsForPrinting"><a href="'.$url.'">'. util_html_secure($pt_arr[$i]->getSummary()) .'</a></td>';
if ($display_col['start_date'])
- echo '<td class="separateRowsForPrinting">'. date(_('Y-m-d H:i'), $pt_arr[$i]->getStartDate()) .'</td>';
+ echo '<td class="separateRowsForPrinting">' .
+ datepick_format($pt_arr[$i]->getStartDate(), true) .
+ '</td>';
if ($display_col['end_date']) {
$as = html_ap();
echo html_ao('td', array(
@@ -493,7 +495,7 @@
($pt_arr[$i]->getStatusID() != 2)) {
echo html_ao('strong');
}
- echo date(_('Y-m-d H:i'), $pt_arr[$i]->getEndDate());
+ echo datepick_format($pt_arr[$i]->getEndDate(), true);
echo html_ac($as);
}
if ($display_col['percent_complete'])
@@ -525,7 +527,7 @@
if ($display_col['category_id'])
echo '<td class="separateRowsForPrinting">'. util_html_secure($pt_arr[$i]->getCategoryID()) .'</td>';
if ($display_col['last_modified_date'])
- echo '<td class="separateRowsForPrinting">'. date('Y-m-d H:i:s', $pt_arr[$i]->getLastModifiedDate()) .'</td>';
+ echo '<td class="separateRowsForPrinting">'. datepick_format($pt_arr[$i]->getLastModifiedDate(), true) .'</td>';
if ($display_col['external_id'])
echo '<td class="separateRowsForPrinting">'. util_html_secure($pt_arr[$i]->getExternalID()) .'</td>';
if ($display_col['sub_project_name'])
More information about the evolvis-commits
mailing list