Skip to content

fix: correct certificate expiration check logic#797

Merged
fudiwei merged 2 commits intomainfrom
hotfix/cer_expire
Jun 15, 2025
Merged

fix: correct certificate expiration check logic#797
fudiwei merged 2 commits intomainfrom
hotfix/cer_expire

Conversation

@usual2970
Copy link
Copy Markdown
Member

问题

  1. 当前证书是否过期以天为维度进行比较,会导致剩余时间不足1天但尚未过期的证书显示为已过期。
  2. 筛选即将过期证书时,会展示已过期的证书。

解决方案

  1. 精确对比,对于不足1天的证书展示剩余小时数。
  2. 筛选即将过期证书的时候,过滤掉已过期证书。

Comment thread ui/src/pages/certificates/CertificateList.tsx Outdated
@fudiwei fudiwei added bug Something isn't working enhancement New feature or request pr: ready to merge labels Jun 14, 2025
@fudiwei fudiwei merged commit 94a0292 into main Jun 15, 2025
@usual2970 usual2970 deleted the hotfix/cer_expire branch June 15, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request pr: ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants