[34244] trunk/www/ports.php

jmpp at macports.org jmpp at macports.org
Mon Feb 18 20:04:42 PST 2008


Revision: 34244
          http://trac.macosforge.org/projects/macports/changeset/34244
Author:   jmpp at macports.org
Date:     2008-02-18 20:04:41 -0800 (Mon, 18 Feb 2008)

Log Message:
-----------
Be a bit more verbose about the last db refresh date, based on PHP's date()formats that are guaranteed
to work on Mac OS Forge servers (as assured by our admin).

Modified Paths:
--------------
    trunk/www/ports.php

Modified: trunk/www/ports.php
===================================================================
--- trunk/www/ports.php	2008-02-19 02:21:41 UTC (rev 34243)
+++ trunk/www/ports.php	2008-02-19 04:04:41 UTC (rev 34244)
@@ -22,7 +22,7 @@
     $result = mysql_query($sql);
     if ($result && $row = mysql_fetch_row($result)) {
         $date = date('Y-m-d', $row[0]);
-        $time = date('H:i', $row[0]);
+        $time = date('H:i:s e', $row[0]);
     }
 ?>
     <p>The MacPorts Project currently distributes <b><?php print $portsdb_info['num_ports']; ?></b> ports, organized across

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080218/3a346ea2/attachment.html 


More information about the macports-changes mailing list