fix: API Key 过期时间使用应用时区而非 UTC

- 后端:parse_expiry_date 使用 APP_TIMEZONE(默认 Asia/Shanghai)
- 前端:移除提示文案中的 "UTC"
This commit is contained in:
fawney19
2026-01-05 02:18:16 +08:00
parent e7db76e581
commit 523e27ba9a
2 changed files with 11 additions and 5 deletions

View File

@@ -117,7 +117,7 @@
</label>
</div>
<p class="text-xs text-muted-foreground">
{{ form.expires_at ? '到期后' + (form.auto_delete_on_expiry ? '自动删除' : '仅禁用') + '(当天 UTC 23:59 失效)' : '留空表示永不过期' }}
{{ form.expires_at ? '到期后' + (form.auto_delete_on_expiry ? '自动删除' : '仅禁用') + '(当天 23:59 失效)' : '留空表示永不过期' }}
</p>
</div>