Hi Andrea,

GEOS-4829 is about making the date en time formatting of json compliant with ISO 8601. For what i understand, do dates not have a time zone designator according to ISO 8601. Only time can have a time zone designator. That's why i think zulu shouldn't be in the date or it should be at least configurable.

regards,

Dirk-Jan


Op 17-1-2013 14:28, Andrea Aime schreef:
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 HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to