I think that you need to modify the clients to format the timestamp
returned into your local timezone and prefered format. ALternatively you
could store the timestamps as strings using the oracle time format in the
database.
Ian
On 30 December 2016 at 19:28, carrbrpoa <[email protected]> wrote:
> Hello,
>
> I've created an Oracle store over GeoServer 2.7.2 and now I'm trying to
> retrieve features data (datetime field included) through WFS'
> GetFeatureInfo.
>
> Example from date in Oracle, formatted with /to_char(MYDATE, 'HH24:MI:SS
> DD-MON-RRRR')/:
> 10:07:28 30-DEZ-2016
>
> The problem is that when I click the feature in GeoServer's layer preview
> (GeoJSON), it shows "2016-12-30Z" and OpenLayers is even worse, showing
> "12/29/16 10:00 PM".
>
> Any ideas on how to solve this issue? I would like to consume
> GetFeatureInfo
> in my application and obtain the datetime as Oracle stores it.
>
> Thanks in advance!
>
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Datetime-in-GetFeatureInfo-tp5301657.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users