mpanighetti / install-or-defer

A framework for prompting users of Jamf Pro-managed Macs to install Apple software updates.
Apache License 2.0
147 stars 28 forks source link

converting deferral time left to days if more than 48 hours remaining #51

Closed K3ll3r closed 3 years ago

K3ll3r commented 3 years ago

In my environment we have a 1 week deferral window, so showing days remaining was much more clear to end users. The below change converts the time to days if more than 2 days are remaining, and adds some comments to explain the time conversion.