I seem to be getting the wrong due date in my automations. The following button should set the due date for next sunday, but after clicking on it, it sets the due date for Monday 00:59. What am I doing wrong? This seems to be a recent issue and is true across the board.
Button:

after clicking on the button:
