MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
16.87k stars 2.67k forks source link

[Bug] 订阅地址expire有小数无法解析 #1228

Closed wmbin closed 7 months ago

wmbin commented 7 months ago

Verify steps

Mihomo version

Alpha

What OS are you seeing the problem on?

No response

Mihomo config

采用订阅地址地址

Mihomo log

No response

Description

订阅地址Subscription-UserInfo中的到期时间expire如果含有小数无法进行解析

level=warning msg="[Provider] get subscription-userinfo: &{%!e(string=ParseInt) %!e(string=1744061141.79) %!e(*errors.errorString=&{invalid syntax})}"

wwqgtxx commented 7 months ago

@wmbin 谁家时间戳还有小数的,让站长打回去重做