dufuz Sun Apr 22 04:14:44 2007 UTC
Modified files:
/pearweb/public_html/bugs search.php
Log:
Bug #10725 bug date/time values inconsistent with bug view
# Now the search page displays the time in UTC like the bug view
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/search.php?r1=1.77&r2=1.78&diff_format=u
Index: pearweb/public_html/bugs/search.php
diff -u pearweb/public_html/bugs/search.php:1.77
pearweb/public_html/bugs/search.php:1.78
--- pearweb/public_html/bugs/search.php:1.77 Sun Apr 22 02:54:18 2007
+++ pearweb/public_html/bugs/search.php Sun Apr 22 04:14:44 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License
- * @version $Id: search.php,v 1.77 2007/04/22 02:54:18 dufuz Exp $
+ * @version $Id: search.php,v 1.78 2007/04/22 04:14:44 dufuz Exp $
*/
/**
@@ -434,7 +434,7 @@
echo '<br /><a
href="bug.php?id='.$row['id'].'&edit=1">(edit)</a></td>' . "\n";
/* Date */
- echo ' <td align="center">'.date ('Y-m-d H:i:s', strtotime
($row['ts1'])).'</td>' . "\n";
+ echo ' <td
align="center">'.format_date(strtotime($row['ts1'])).'</td>' . "\n";
echo ' <td>', htmlspecialchars($row['package_name']), '</td>'
. "\n";
echo ' <td>', htmlspecialchars(@$types[$row['bug_type']]),
'</td>' . "\n";
echo ' <td>', htmlspecialchars($row['status']);
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|