patrix87 / PowerShellGSM

A Comprehensive PowerShell Tool for Simple Automated Game Server Management.
https://github.com/patrix87/PowerShellGSM/
MIT License
111 stars 19 forks source link

Fix reboot loop: Update comparison date method #44

Closed Torath0071 closed 9 months ago

Torath0071 commented 9 months ago

The problem arose from the fact that the date of the next update was compared with the current date 01/01/2024 is less than 12/31/2023 (compared values) and therefore launches a full update.

Torath0071 commented 9 months ago

Addition of a global variable to determine the format for saving variables in the INI file

Save in yyyy-MM-dd HH:mm:ss format to ensure functional comparison over time

Modification of the default value when receiving variables from the INI file