Hi

I have a PostGIS table which I am serving through Geoserver v2.5 that has a 
date format column of dates. Using this table, I have created a web application 
which uses an ajax request to pull through the fields from this table via the 
Openlayers 3 WFS read features format.

The problem I am encountering is, for any dates that fall within British summer 
time (GMT Daylight Saving Time), it appears to be moving the actual date back 
by one day (i.e. for a date stored as 8th September 1993 in PostGIS, it is 
displaying as 07/09/1993 in my HTML / Javascript web application). The field is 
not a timestamp field, it is just a date field so from what I can gather it 
shouldn't be storing any information on time zones?

I have asked this question on both the Openlayers stack overflow group and on a 
coding forum specifically dealing with javascript and it doesn't appear to be 
an issue with how the date is being formatted, so I am wondering if there could 
be any potential problems when serving the table through Geoserver? Does anyone 
have any possible things I can check to see why this might be occurring?

Thanks, Chris


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to