I have a view with a date field that I would like to move back a few minutes e.g. $timestamp – 60.
I run hook_views_post_execute() but, when I look at $view it already has rendered markup in it:
$view->result[0]->field_field_end_date[0]['rendered']['#markup'] ==>> '<span class="date-display-interval">0 sec</span>
The documentation states “This hook is called right after the execute process. The query has been executed, but the pre_render() phase has not yet happened for handlers.”
What gives?
To solve this problem. I need to add/subtract from the “raw” value before it is rendered.
How can I do this?
Thanks.