[Geoserver-users] SLD timestamp filter

Hi everyone,

I'm trying to use variable substitution to style a point based on a
timestamp stored in each point:

<ogc:Function name="equalTo">
    <ogc:Function name="env">
        <ogc:Literal>time</ogc:Literal>
    </ogc:Function>
    <ogc:PropertyName>date</ogc:PropertyName>
</ogc:Function>

However, I can't seem to get the format of the time to compare to correctly.
For example, I know I have a point that contains a timestamp of 2013-08-06
10:30:00 but every which way I enter the time as an env variable doesn't
seem to work (2013-08-06T10:30:00.000Z, 2013-08-06 10:30:00, etc.).

I am using GeoServer version 2.2.4.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-timestamp-filter-tp5075046.html
Sent from the GeoServer - User mailing list archive at Nabble.com.