Add the page and sidebar entry for a 'Browse newest applications' page

This commit is contained in:
Alexander Nicolaysen Sørnes
2006-11-27 03:14:57 +00:00
committed by WineHQ
parent 4586465b09
commit 79a5e062dd
3 changed files with 77 additions and 3 deletions

View File

@@ -63,14 +63,18 @@ function values($arr)
}
/*
* format date
*/
// print the month, day, year, hour, minute, second
function print_date($sTimestamp)
{
return date("F d Y H:i:s", $sTimestamp);
}
// print the month, day and year
function print_short_date($sTimestamp)
{
return date("F d Y", $sTimestamp);
}
function mysqltimestamp_to_unixtimestamp($sTimestamp)
{
$d = substr($sTimestamp,6,2); // day