From 558f61d8cc8286a9e752a01f93dfee6a4745c07c Mon Sep 17 00:00:00 2001 From: Dogan AY Date: Tue, 11 Feb 2025 14:10:37 +0100 Subject: [PATCH 1/4] fix(charts): handle last week of the year properly during format --- src/services/line-stat-getter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/line-stat-getter.js b/src/services/line-stat-getter.js index 895972e0..95765619 100644 --- a/src/services/line-stat-getter.js +++ b/src/services/line-stat-getter.js @@ -145,7 +145,7 @@ ${groupByDateFieldFormated}), 'yyyy-MM-dd 00:00:00')`); function getFormat() { switch (timeRange) { case 'day': return 'DD/MM/YYYY'; - case 'week': return '[W]W-YYYY'; + case 'week': return '[W]W-GGGG'; case 'month': return 'MMM YY'; case 'year': return 'YYYY'; default: return null; From 23c411fc6073ac15c47f297f4c72db4192905c0e Mon Sep 17 00:00:00 2001 From: Jeff LADIRAY Date: Tue, 11 Feb 2025 14:47:22 +0100 Subject: [PATCH 2/4] fix: fix ci From 667c207025ee34c383b8cfb27706f67a6d76e9da Mon Sep 17 00:00:00 2001 From: Jeff LADIRAY Date: Tue, 11 Feb 2025 14:56:40 +0100 Subject: [PATCH 3/4] fix: fix ci --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 836a8eb5..850db497 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: - name: Start docker container run: docker compose up -d; sleep 20 - name: Send coverage - uses: paambaati/codeclimate-action@v2.7.4 + uses: paambaati/codeclimate-action@84cea27117a473d605400ca3a97fcef7e433e2d6 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: From 45b1ac7ec2f0d1f2cb5d3b0ab7cb775c5d3fc68b Mon Sep 17 00:00:00 2001 From: Jeff LADIRAY Date: Tue, 11 Feb 2025 14:59:43 +0100 Subject: [PATCH 4/4] fix: fix ci --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 850db497..836a8eb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: - name: Start docker container run: docker compose up -d; sleep 20 - name: Send coverage - uses: paambaati/codeclimate-action@84cea27117a473d605400ca3a97fcef7e433e2d6 + uses: paambaati/codeclimate-action@v2.7.4 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: