fix time parse error

This commit is contained in:
pompurin404 2024-08-09 12:03:55 +08:00
parent 88f7d4ee0b
commit 78fb7294b5
No known key found for this signature in database

View File

@ -89,7 +89,7 @@ const ProxyProvider: React.FC = () => {
> >
{provider.subscriptionInfo && ( {provider.subscriptionInfo && (
<div className="select-none h-[32px] leading-[32px] text-default-500"> <div className="select-none h-[32px] leading-[32px] text-default-500">
{dayjs(provider.subscriptionInfo.Expire).format('YYYY-MM-DD')} {dayjs.unix(provider.subscriptionInfo.Expire).format('YYYY-MM-DD')}
</div> </div>
)} )}
</SettingItem> </SettingItem>