[Geoserver-users] Zulu suffix in date Geojson

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:andrea.aime@anonymised.com]
Lähetetty: 17. tammikuuta 2013 15:28
Vastaanottaja: Dirk-Jan Bulsink; Gabriel Roldan
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] Zulu suffix in date Geojson

On Thu, Jan 17, 2013 at 1:58 PM, Dirk-Jan Bulsink <bulsink@anonymised.com.> 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


On Thu, Jan 17, 2013 at 2:38 PM, Rahkonen Jukka <Jukka.Rahkonen@anonymised.com486…> wrote:

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”.

Dunno, I’m just the messenger, Gabriel did the change, Justin reviewed it

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