[Mapbender-commits] r6147 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon May 10 08:02:14 EDT 2010
Author: verenadiewald
Date: 2010-05-10 08:02:14 -0400 (Mon, 10 May 2010)
New Revision: 6147
Modified:
trunk/mapbender/http/plugins/mb_metadata_server.php
Log:
date formats for timestamps
Modified: trunk/mapbender/http/plugins/mb_metadata_server.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_server.php 2010-05-10 12:00:04 UTC (rev 6146)
+++ trunk/mapbender/http/plugins/mb_metadata_server.php 2010-05-10 12:02:14 UTC (rev 6147)
@@ -93,7 +93,13 @@
$row = db_fetch_assoc($res);
foreach ($row as $key => $value) {
- $resultObj[$key] = $value;
+ if($key == "wms_timestamp" || $key == "wms_timestamp_create") {
+ $value = date('d.m.Y', $value);
+ $resultObj[$key] = $value;
+ }
+ else {
+ $resultObj[$key] = $value;
+ }
}
$keywordSql = <<<SQL
More information about the Mapbender_commits
mailing list