[Fusionforge-commits] r14510 - trunk/src/www/frs

Julien HEYMAN jheyman at fusionforge.org
Fri Sep 30 12:42:38 CEST 2011


Author: jheyman
Date: 2011-09-30 12:42:38 +0200 (Fri, 30 Sep 2011)
New Revision: 14510

Modified:
   trunk/src/www/frs/index.php
Log:
Fix date display in FRS

Modified: trunk/src/www/frs/index.php
===================================================================
--- trunk/src/www/frs/index.php	2011-09-30 10:33:59 UTC (rev 14509)
+++ trunk/src/www/frs/index.php	2011-09-30 10:42:38 UTC (rev 14510)
@@ -142,7 +142,7 @@
                 // Switch whether release_id exists and/or release_id is current one
                 if ( ! $release_id || $release_id==$package_release['release_id'] ) {
                     // no release_id OR release_id is current one
-                    $release_title = util_make_link ( 'frs/shownotes.php?release_id=' . $package_release['release_id'], $package_name.' '.$package_release['name']);
+                    $release_title = util_make_link ( 'frs/shownotes.php?release_id=' . $package_release['release_id'], $package_name.' '.$package_release['name'].' ('.date(_('Y-m-d H:i'),$package_release['release_date']).')');
                     echo $GLOBALS['HTML']->boxTop($release_title, $package_name . '_' . $package_release['name'])."\n";
                 } elseif ( $release_id!=$package_release['release_id'] ) {
                     // release_id but not current one
@@ -201,7 +201,7 @@
                             $file_release = db_fetch_array( $res_file );
 
                             $tmp_col1 = util_make_link ('/frs/download.php/file/'.$file_release['file_id'].'/'.$file_release['filename'], $file_release['filename']);
-                            $tmp_col2 = date(_('Y-m-d H:i'), $package_release['release_date'] );
+                            $tmp_col2 = date(_('Y-m-d H:i'), $file_release['release_time'] );
                             $tmp_col3 = human_readable_bytes($file_release['file_size']);
                             $tmp_col4 = ($file_release['downloads'] ? number_format($file_release['downloads'], 0) : '0');
                             $tmp_col5 = $file_release['processor'];




More information about the Fusionforge-commits mailing list