From 9cf3b95c65613a563444065a1364005fb9d7677c Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Thu, 24 Aug 2023 11:46:04 +0200 Subject: [PATCH] date fixes https://github.com/Open-EO/openeo-geopyspark-driver/issues/34 --- .../openeo/geotrellis/integrationtests/CollectionTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geotrellis-integrationtests/src/test/scala/org/openeo/geotrellis/integrationtests/CollectionTests.scala b/geotrellis-integrationtests/src/test/scala/org/openeo/geotrellis/integrationtests/CollectionTests.scala index 8de4a9bbd..858e19155 100644 --- a/geotrellis-integrationtests/src/test/scala/org/openeo/geotrellis/integrationtests/CollectionTests.scala +++ b/geotrellis-integrationtests/src/test/scala/org/openeo/geotrellis/integrationtests/CollectionTests.scala @@ -297,7 +297,7 @@ class CollectionTests { case _ => throw new IllegalStateException(s"Layer $layerStr not supported") } - val file_name = s"${layerStr}_${from_date_parsed.toLocalDate}_${to_date_parsed.toLocalDate}" + val file_name = s"${layerStr}_${from_date_parsed.toLocalDate}_${to_date_parsed.minusDays(1).toLocalDate}" new ComputeStatsGeotrellisAdapterTest(1).computeStatsGeotrellisAdapter.compute_generic_timeseries_from_datacube( "mean", layer,