File tree Expand file tree Collapse file tree
server/src/main/java/au/org/aodn/ogcapi/server/features Expand file tree Collapse file tree Original file line number Diff line number Diff line change 155155 <dependency >
156156 <groupId >org.duckdb</groupId >
157157 <artifactId >duckdb_jdbc</artifactId >
158- <version >1.3.2 .0</version >
158+ <version >1.0 .0</version >
159159 </dependency >
160160 <!-- Add JSON layout dependency -->
161161 <dependency >
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public ResponseEntity<FeatureCollectionGeoJSON> getFeatures(String from) {
107107
108108 Map <String , Object > properties = new HashMap <>();
109109 properties .put ("buoy" , siteName );
110- properties .put ("date" , result .getDate ("TIME" ));
110+ properties .put ("date" , result .getString ("TIME" ). split ( " " )[ 0 ] );
111111
112112 FeatureGeoJSON feature = new FeatureGeoJSON ();
113113 feature .setType (FeatureGeoJSON .TypeEnum .FEATURE );
You can’t perform that action at this time.
0 commit comments