Please add the following code to sceduler.module to fix this:

function scheduler_date_api_fields($field) {
$values = array(
'sql_type' => DATE_UNIX,
'tz_handling' => 'site',
'timezone_field' => '',
'offset_field' => '',
'related_fields' => array(),
'granularity' => array('year', 'month', 'day', 'hour', 'minute', 'second'),
);

switch ($field) {
case 'scheduler.publish_on':
case 'scheduler.unpublish_on':
return $values;
}
}

Thanks :)

Comments

steve.neill’s picture

Title: publish_on and unpublish_on dates are not visible in Views arguments » publish_on and unpublish_on dates are not visible in Views arguments [solution provided]
eric-alexander schaefer’s picture

Status: Active » Postponed (maintainer needs more info)

Can you explain what this code is doing? Is it a hook for the date module? What does it do?

eric-alexander schaefer’s picture

Steve? Are you still with us? What does you code do exactly?

eric-alexander schaefer’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Reopen, if you feel like answering my question...