[med-svn] r606 - trunk/community/website

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Fri Oct 5 08:52:29 UTC 2007


Author: hanska-guest
Date: 2007-10-05 08:52:29 +0000 (Fri, 05 Oct 2007)
New Revision: 606

Modified:
   trunk/community/website/index.php
Log:
Using localized date format in the activity log


Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php	2007-10-05 08:50:40 UTC (rev 605)
+++ trunk/community/website/index.php	2007-10-05 08:52:29 UTC (rev 606)
@@ -117,7 +117,7 @@
 							$desc = preg_replace("/(Commit by.*<strong>.*<\/strong>.*<span.*::.*<\/span>)/", "", $desc);
 				?>
 				<tr>
-					<td><?=$rs["items"][$i]["pubDate"]?></td>
+					<td><?=strftime("%c", strtotime($rs["items"][$i]["pubDate"]))?></td>
 					<td><a href="http://alioth.debian.org/users/<?=$author?>"><?=$author?></a></td>
 					<td><?=$desc?></td>
 					<td><a href="<?=$rs["items"][$i]["link"]?>">&raquo;</a></td>




More information about the debian-med-commit mailing list