From: Andre E. <in...@us...> - 2004-05-27 02:01:08
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12723/core Modified Files: version_api.php Log Message: * Fix #3806: Timestamp in project management page (Version management section) isn't shown as configured Index: version_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/version_api.php,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- version_api.php 24 May 2004 12:35:47 -0000 1.13 +++ version_api.php 27 May 2004 02:00:57 -0000 1.14 @@ -214,9 +214,15 @@ $rows = array(); for ( $i = 0 ; $i < $count ; $i++ ) { $row = db_fetch_array( $result ); - $rows[] = $row; } return $rows; } -?> \ No newline at end of file + + # -------------------- + # Format timestamp for display + function version_format_date( $p_date_order ) { + $t_timestamp = db_unixtimestamp( $p_date_order ); + return date( config_get( 'complete_date_format' ), $t_timestamp ); + } +?> |