From 28b868d1b4ce9f1488b14ed7735ad46b247dcfe0 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 06 十一月 2024 12:04:13 +0800
Subject: [PATCH] 修复一些bug

---
 _Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl b/_Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl
index a1302ef..81bbd7f 100644
--- a/_Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl
+++ b/_Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl
@@ -11,10 +11,16 @@
       stringDate := date.Format( "Y/M2/D2");
       perSuffx := ifexpr( this.CustomDate().Week() < 10,"0"+[String]this.CustomDate().Week(),[String]this.CustomDate().Week() );
       value := "KW" + perSuffx + " - " + stringDate;
+    }else if( this.TimeUnit() = "Month" ){
+      us_locale := Locale::Construct( 'en_us' );
+      
+      date := this.CustomDate();
+      stringDate := date.Format( "Y: MM / M" + "鏈�" ,us_locale )
+      value := stringDate;
     }else{
       value := this.CustomDate().Format( "Y/M2/D2" );
     }
     
-    this.WeekDate( value );
+    this.DisplayDate( value );
   *]
 }

--
Gitblit v1.9.3