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_ProcessColumnWeek.qbl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnWeek.qbl b/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnWeek.qbl index ebd45a9..404a4e7 100644 --- a/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnWeek.qbl +++ b/_Main/BL/Type_LibCal_SubscriberEventTable/Method_ProcessColumnWeek.qbl @@ -5,10 +5,10 @@ TextBody: [* // 鐢勫叞楦� Aug-1-2024 (created) - day := this.MinDayDate().StartOfNextWeek(); + day := this.MinWeekDate().StartOfNextWeek(); - while( day < this.MaxDayDate() ){ - if( not exists( this, LibCal_SubscriberEventColumn, column, column.Period() = day and column.TimeUnit() = Translations::MP_GlobalParameters_Day() ) ){ + while( day < this.MaxWeekDate() ){ + if( not exists( this, LibCal_SubscriberEventColumn, column, column.Period() = day and column.TimeUnit() = Translations::MP_GlobalParameters_Week() ) ){ this.LibCal_SubscriberEventColumn( relnew, Name := day.Format( 'M/D/Y' ), Period := day, TimeUnit := Translations::MP_GlobalParameters_Week() ); } day := day.StartOfNextWeek(); -- Gitblit v1.9.3