在计算中使用修订日期

时间:2016-10-07 01:47:55

标签: drupal views

使用hook_views_post_execute(),您如何使用revision_timestampnode_changed值来查找日期之间的差异?使用Devel,似乎不是一种定位这些值的方法。以下是我尝试dpm($view->result)时得到的内容:

node_revision_timestamp (String, 10 characters ) 1475626276
$...[0]->node_revision_timestamp
node_changed (String, 10 characters ) 1475626276
$...[0]->node_changed

0 个答案:

没有答案
相关问题