Convert from timestamp to datetime. Datetime is consistent between mysql 4.0x and newer
versions and is faster for date/time computations. Modify object creation methods to specify any time fields that were previously updated with timestamp properties.
This commit is contained in:
@@ -77,7 +77,7 @@ class browse_newest_apps
|
||||
|
||||
$oTableRow = new TableRow();
|
||||
|
||||
$oTableCell = new TableCell(print_short_date(mysqltimestamp_to_unixtimestamp($oApp->sSubmitTime)));
|
||||
$oTableCell = new TableCell(print_short_date(mysqldatetime_to_unixtimestamp($oApp->sSubmitTime)));
|
||||
$oTableCell->SetWidth("20%");
|
||||
$oTableRow->AddCell($oTableCell);
|
||||
$oTableRow->AddTextCell($oApp->objectMakeLink());
|
||||
|
||||
Reference in New Issue
Block a user