[Geoserver-devel] [jira] Created: (GEOS-1235) Date field can be altered due to timezone differences

Date field can be altered due to timezone differences
-----------------------------------------------------

                 Key: GEOS-1235
                 URL: http://jira.codehaus.org/browse/GEOS-1235
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.6.0-beta2, 1.5.1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.6.0-rc1

Date fields can be moved off one day if the timezone does not collaborate. See the following mail excerpt:

-------------------------------------------------------------------------------------------------------------------------

I live in Italy, some I'm +2 compared to Greenwich.

Now, with the following data in the db:
           dt | timetest | datetest
-------------------------+--------------+------------
  2007-07-02 12:06:37.671 | 15:48:50.531 | 2007-07-04

and the xml rendering is:

<topp:dt>2007-07-02T12:06:37.671+02:00</topp:dt>
<topp:timetest>15:48:50</topp:timetest>
<topp:datetest>2007-07-03+00:00</topp:datetest>

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira