Help with data Hook to replace time fields with a specific time.

I’m not sure how to do that, I’ve tried adding the code into a beforeQuery hook and even afterQuery in the data.js but that doesn’t seem to help.