Format Date does not work in Shortcuts

I am trying to make an automation that disables always on display if it's charging and if it's between midnight and 8am. However, it seems that the format date option is not working. I tried breaking down the program to find the problem and it seems the actual format date is the culprit. As you can see in the following photos, I am just trying to convert the date to only get the hour, but even that causes the program to crash.


Overall layout of program:


Details of Format Date:


Program Crashes:


Can someone help me figure out what's going on because I do not understand where I am converting from text to date or if the thing is just straight up broken.

Posted on Feb 4, 2024 7:24 AM

Reply

Similar questions

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Format Date does not work in Shortcuts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.