Ian Schneider created GEOS-4956:
-----------------------------------
Summary: WMS time extent does not properly encode dates with negative years
Key: GEOS-4956
URL: https://jira.codehaus.org/browse/GEOS-4956
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 2.1.4
Reporter: Ian Schneider
Assignee: Andrea Aime
Attachments: fix-wms-time-extent.patch
java.util.Date supports representation of dates between -296,000,000 to 296,000,000 years.
The current implementation of date output in the getcapabilities response for time extent does not properly encode these values according to the WMS specification (section D2.2, pp 57-58).
Attached patch ensures this with a new formatter (SimpleDateFormat cannot support this format directly) and verifies compliance with the extended ISO8601 format in the TimeKvpParserTest.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira