From 7a687fce2b000f2c3414d757b78849921dcfade5 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期四, 10 十月 2024 17:55:55 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/BL/Type_EnginePipelineReport/Method_GenerateColumn.qbl |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_EnginePipelineReport/Method_GenerateColumn.qbl b/_Main/BL/Type_EnginePipelineReport/Method_GenerateColumn.qbl
index f579568..fa38c09 100644
--- a/_Main/BL/Type_EnginePipelineReport/Method_GenerateColumn.qbl
+++ b/_Main/BL/Type_EnginePipelineReport/Method_GenerateColumn.qbl
@@ -29,10 +29,9 @@
       }
       if( timeunit = 'All' or timeunit = Translations::MP_GlobalParameters_Week() ){
         for( start := startdate; start <= enddate; start := start.StartOfNextWeek() ){
-          periodname          := start.Format( "M2/D2/Y" );
           weekend             := ( start.StartOfNextWeek() - Duration::Days( 1 ) ).Date();
           
-          this.Column( relnew, Name := periodname, StartDate := start, EndDate := weekend, TimeUnit := Translations::MP_GlobalParameters_Week() );
+          this.Column( relnew, Name := weekend.Format( "M2/D2/Y" ), StartDate := start, EndDate := weekend, TimeUnit := Translations::MP_GlobalParameters_Week() );
         }
       }
     }

--
Gitblit v1.9.3