[mapserver-commits] r11778 - branches/branch-6-0/mapserver

svn at osgeo.org svn at osgeo.org
Sat Jun 4 12:12:14 EDT 2011


Author: rouault
Date: 2011-06-04 09:12:14 -0700 (Sat, 04 Jun 2011)
New Revision: 11778

Modified:
   branches/branch-6-0/mapserver/mappostgis.c
Log:
Fix multiple values WMS time request on Postgis layers (#3909)

Modified: branches/branch-6-0/mapserver/mappostgis.c
===================================================================
--- branches/branch-6-0/mapserver/mappostgis.c	2011-06-04 16:11:58 UTC (rev 11777)
+++ branches/branch-6-0/mapserver/mappostgis.c	2011-06-04 16:12:14 UTC (rev 11778)
@@ -3121,7 +3121,7 @@
                     else
                       strlcat(buffer, "(", buffer_size);
 
-                    snprintf(bufferTmp, buffer_size, "(date_trunc('%s, %s) >= '%s", 
+                    snprintf(bufferTmp, buffer_size, "(date_trunc('%s', %s) >= '%s", 
                              timeresolution, timefield, tokens[0]);
                     strlcat(buffer, bufferTmp, buffer_size);
                     



More information about the mapserver-commits mailing list