From d02b35cb54b769466aeb74bc9538d56b65d8d207 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 01 八月 2024 18:21:31 +0800
Subject: [PATCH] 日历不可用事件日期连续补充bug

---
 _Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnMonth#1.qbl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git "a/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnMonth\0431.qbl" "b/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnMonth\0431.qbl"
index c603849..01051f1 100644
--- "a/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnMonth\0431.qbl"
+++ "b/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnMonth\0431.qbl"
@@ -5,13 +5,13 @@
   TextBody:
   [*
     // 鐢勫叞楦� Aug-1-2024 (created)
-    day      := this.MinDayDate().StartOfNextMonth();
+    day      := this.MinMonthDate().StartOfNextMonth();
     
-    while( day < this.MaxDayDate() ){
-      if( not exists( this, LibCal_SubscriberEventColumn, column, column.Period() = day and column.TimeUnit() = Translations::MP_GlobalParameters_Day() ) ){
+    while( day < this.MaxMonthDate()){
+      if( not exists( this, LibCal_SubscriberEventColumn, column, column.Period() = day and column.TimeUnit() = Translations::MP_GlobalParameters_Month()) ){
         this.LibCal_SubscriberEventColumn( relnew, Name := day.Format( 'M/D/Y' ), Period := day, TimeUnit := Translations::MP_GlobalParameters_Month() );
       }
-      day      := this.MinDayDate().StartOfNextMonth();
+      day      := day.StartOfNextMonth();
     }
   *]
 }

--
Gitblit v1.9.3