Problematic system

I had a problem with wireguard that could not connect to server because of wrong date. As quick and easy workaround I added simple script at startup (in Luci System-Startup or in /etc/rc.local) date -s "2030-01-01 00:00:00" that set date to the future, after that wireguard connects to the server (it seems it accepts future dates fine) and internet appears, after that ntp is up and correct the date,time to actual values.