altstoreio / AltStore

AltStore is an alternative app store for non-jailbroken iOS devices.
https://altstore.io
GNU Affero General Public License v3.0
11.32k stars 858 forks source link

Altstore app shows expiry in negative days. #1439

Open abhijithvijayan opened 2 months ago

abhijithvijayan commented 2 months ago

Once apps expire, it says 0 days, but if not refreshed for more days, the value shows negative days.

My altstore server and app cannot connect and refresh apps automatically because of Device Isolation at the router level. So i manually connect via cable and refresh apps. So most of the times I notice this negative days within the app once apps expire. I am not an iOS developer but this has been annoying me for so many times.

Will send a fix which i tested using this gist https://gist.github.com/wojteklu/89ff135152946103d087bd92e9bcd7b2

Ein-Tim commented 2 months ago

Technically though the negative values aren't wrong, or am I mistaken? But maybe it makes more sense to simply show "Expired" instead of a negative value?