Hi,

Read again:
"date  This SHOULD be a date in the format of YYYY-MM-DD."
Dirk-Jan asks why it is "yyyy-mm-ddz".

-Jukka-


Lähettäjä: Andrea Aime [mailto:[email protected]]
Lähetetty: 17. tammikuuta 2013 15:28
Vastaanottaja: Dirk-Jan Bulsink; Gabriel Roldan
Kopio: [email protected]
Aihe: Re: [Geoserver-users] Zulu suffix in date Geojson

On Thu, Jan 17, 2013 at 1:58 PM, Dirk-Jan Bulsink 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

In older versions of geoserver (like 2.0.2) was the format of the date
datatype in geojson "yyyy-mm-dd". In version 2.2.3 is a suffix "z" added
to the format, so you get "yyyy-mm-ddz". Why is the 'z' suffix added and
is there a way to get rid it?

As far as I can see from the source code history, because it is the recommended
way to represent a date in JSON,
see http://jira.codehaus.org/browse/GEOS-4829

There is no way to get rid of it as of now, feel free to argue why zulu time is
not appropriate and eventually provide a patch to make this behavior 
configurable.

Cheers
Andrea


--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to