cvs: pearweb /public_html index.php
[email protected] ("Helgi ?ormar ?orbj?rnsson") Tue, 06 May 2008 22:01:25 -0000
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <cvsdufuz1210111285@cvsserver> |
dufuz Tue May 6 22:01:25 2008 UTC
Modified files:
/pearweb/public_html index.php
Log:
switch to format_date
http://cvs.php.net/viewvc.cgi/pearweb/public_html/index.php?r1=1.147&r2=1.148&diff_format=u
Index: pearweb/public_html/index.php
diff -u pearweb/public_html/index.php:1.147 pearweb/public_html/index.php:1.148
--- pearweb/public_html/index.php:1.147 Thu Feb 28 22:07:06 2008
+++ pearweb/public_html/index.php Tue May 6 22:01:25 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Martin Jansen <[email protected]> |
+----------------------------------------------------------------------+
- $Id: index.php,v 1.147 2008/02/28 22:07:06 dufuz Exp $
+ $Id: index.php,v 1.148 2008/05/06 22:01:25 dufuz Exp $
*/
include_once 'pear-database-release.php';
@@ -25,7 +25,7 @@
$RSIDEBAR_DATA .= '<table class="sidebar-releases">' . "\n";
$today = date("D, jS M y");
foreach ($recent as $release) {
- $releasedate = make_utc_date(strtotime($release['releasedate']), "D, jS M y");
+ $releasedate = format_date(strtotime($release['releasedate']), "D, jS M y");
if ($releasedate == $today) {
$releasedate = "today";
}