[Mapbender-users] WFS-Conf Datepicker: -1 Day?

Christian Wygoda christian.wygoda at wheregroup.com
Fri Feb 8 01:11:13 PST 2013


Hi,

might be a timezone configuration problem. Depending on which timezone 
is configured in PHP and time of day the local time might be in a 
different day than a datetime without timezone (which is assumed to be 
UTC, I think).

Just where this problem occurs, is beyond me. I would check PHP's 
configuration and the actual type of the PostgreSQL field for a beginning.

Cheers,
   Crischan


On 02/07/2013 02:59 PM, Jäger, Frank (KRZ) wrote:
> Hallo,
> first time that I use the Datepicker for Digitize.
>
> PostGIS:
>    von date,
>   
> WFS: GeoServer 2.2
>
> Mapbender 2.7.3, WFS-Conf, HTML-Template:
>   
> <input data='{\"dateFormat\": \"yy-mm-dd\"}' type='text' id='von' class='hasdatepicker' />
>
> See [1] [2]
>
>
> I pick "2013-02-07" in Mapbender-Digitze.
>
> Value in PostGIS and WMS-FeaturInfo show me: "2013-02-06".
>
> Why is it shifted 1 day?
>
> Frank Jäger
>
>
> [1] http://trac.osgeo.org/mapbender/ticket/849
> [2] http://www.mapbender.org/Template:WFS_Konfiguration
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


-- 
********************************************
FOSS Academy Winterschule, 25.02.-01.03.2013
GDI in 5 Tagen!
http://www.foss-academy.eu/Winterschule_2013
********************************************
--------------------------------------------
WhereGroup GmbH & Co. KG
Eifelstraße 7
53119 Bonn
Germany

Christian Wygoda
Anwendungsentwickler

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11

info at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
--------------------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
--------------------------------------------



More information about the Mapbender_users mailing list