Local time in HomeyScript

Hey! It seems my local time is broken again in v5. Do you have any ideas on how to fix my script again?