Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have published various layers using Geoserver 2.2.x with a PostGIS 2.0.1 (PostgreSQL 9.1.x) data store. Fields that only have date values and not time/timestamp related values are stored as date. After publishing my layers as wfs/wms and opening the table in the browser date vlues are displaying with a trailing 'Z'. Is this a product of the geotools data store api that geoserver is using? I think the geotools data store api is throwing a blanket over the data reading date as datetime, timestamp etc and the 'z' gets displayed for zulu time. I could be totally off on my geotools assumption but in PostgreSQL 'z' represents zulu or utc. If the data source values are stored as date and have no time component why is there a trailing 'Z' in the date field?Here multiple date values display with a trailing 'Z'

share|improve this question
    
I think dates get converted to timestamps internally. See docs.codehaus.org/display/GEOTOOLS/Date+Time+handling for some discussion –  iant Oct 11 '13 at 14:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.