瀏覽代碼

Updates invalid date

main
Eric Amodio 1 年之前
父節點
當前提交
a43f86cb3a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/plus/subscription/subscriptionService.ts

+ 1
- 1
src/plus/subscription/subscriptionService.ts 查看文件

@ -911,7 +911,7 @@ export class SubscriptionService implements Disposable {
subscription.plan.actual.id === SubscriptionPlanId.Pro &&
!subscription.plan.actual.bundle &&
new Date(subscription.plan.actual.startedOn) >= new Date('2022-02-28T00:00:00.000Z') &&
new Date(subscription.plan.actual.startedOn) <= new Date('2022-04-31T00:00:00.000Z')
new Date(subscription.plan.actual.startedOn) <= new Date('2022-04-30T00:00:00.000Z')
) {
void showRenewalDiscountNotification(this.container, subscription);
}

Loading…
取消
儲存