From 34d5485fe737da3fb48be513c3227269eb323cbb Mon Sep 17 00:00:00 2001 From: Emanuele Danovaro Date: Fri, 18 Oct 2024 23:48:18 +0100 Subject: [PATCH 1/2] version bump --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index de1a208d..3e383a67 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.19 +1.11.20 From 6d2236ada00d5dcd66bf561d92f4fd8dfeec0b39 Mon Sep 17 00:00:00 2001 From: Emanuele Danovaro Date: Fri, 8 Nov 2024 11:54:52 +0000 Subject: [PATCH 2/2] fix date default --- VERSION | 2 +- tests/test_expand.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 3e383a67..52e7d0fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.20 +1.11.21 \ No newline at end of file diff --git a/tests/test_expand.cc b/tests/test_expand.cc index ba7cf1d5..5baaa66a 100644 --- a/tests/test_expand.cc +++ b/tests/test_expand.cc @@ -45,10 +45,10 @@ CASE( "test_metkit_expand_2" ) { const std::vector< std::string >& dates = r.values("date"); EXPECT(dates.size() == 1); - eckit::Date today(0); + eckit::Date yesterday(-1); std::ostringstream oss; - oss << today.yyyymmdd(); + oss << yesterday.yyyymmdd(); EXPECT(dates[0] == oss.str());