What is the type of the field at the database level? And if you do a wfs
describeFeatureType what does the xml schema type come across as.

One thing that might help is to customize the feature type schema as
described here:

http://docs.geoserver.org/stable/en/user/services/wfs/schemamapping.html

In which you can change the field type explicitly to xs:dateTime.

-Justin

On Tue, Mar 1, 2011 at 4:38 PM, Gundel, Aaron <[email protected]>wrote:

> Good day fellow GeoServer users,
>
>
>
> I seem to have come across some type of issue with dates and times in
> GeoServer.  I’m using the oracle datastore to connect to a table that has a
> date field in it.  The times in this field are not coming across properly
> (they’re all midnight – 12:00 – so I assume that means they’re being
> truncated or somesuch along the way) when I do a wms getfeatureinfo call (or
> wfs getfeature call, for that matter).  Is there a workaround to get the
> time through to my application?  I’m turning the field into a string right
> now to get it across, but if there’s a better way to do so, I’d certainly be
> interested.
>
>
>
> Many thanks!
>
>
>
> Aaron
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to