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