[Geoserver-devel] [jira] (GEOS-6777) WFS Service change date value while converting timezones

Kirill Lychagin created an issue

GeoServer / BugGEOS-6777

WFS Service change date value while converting timezones

Issue Type:

BugBug

Affects Versions:

2.5.2

Assignee:

Andrea Aime

Components:

DB2

Created:

20/Nov/14 8:07 AM

Environment:

AIX, jetty

Labels:

db2 timezone date

Priority:

MajorMajor

Reporter:

Kirill Lychagin

Hi,

i got Layer which publish data from table in Db2 on zOS (with Spatial Extender) by WFS service.
Table contains date column. It’s is also date attribute in Geoserver’s layer.
Timezones in geoserver’s OS and Db2’s zOS - Europe/Moscow

When I request WFS 2.0.0 output geoserver tring to convert Europe/Moscow timezone to UTC - thatswork fine when i got timestamp column.
But accidentaly geoserver converts Date column.
In database i have ‘2012-01-01’, In WFS output i get ‘2011-12-31Z’.
I don’t understand why it converts Date column.

p.s. When i change OS timezone to UTC, geoserver stops converting data and time at all - seems correct.
p.s.s. In bugtracker i gount only issue with fix for 1.6.x version.

Thanks in advance!

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo