aodn / geoserver-build

Configures a GeoServer war containing extensions and configuration required by AODN instances
Other
2 stars 4 forks source link

Date formatting for CSV with header output #261

Closed pmbohm closed 7 years ago

ggalibert commented 7 years ago

Is this in response to this issue: https://github.com/aodn/content/issues/297 ?

IMOS standard string date format is: "yyyy-MM-ddTHH:mm:ssZ". All IMOS dates are stored in UTC. For example "2017-10-02T07:30:00Z".

pmbohm commented 7 years ago

@ggalibert Thanks for that clarification. I was seeing varying values for the milliseconds so I assumed we would supply them.

jonescc commented 7 years ago

Get an error running this locally:

31 Oct 13:57:10 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: Illegal pattern component: T

jonescc commented 7 years ago

You can testing this by creating a datastore that points to a 'production' featuretype (I chose soop_co2_trajectory_data) and use the csv-with-metadata WFS option on the layer preview page,

pmbohm commented 7 years ago

@jonescc Yes i'm reworking it now

pmbohm commented 7 years ago

@jonescc Done (with Travis is doing its thing of course)