Closed (won't fix)
Project:
Scheduler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2009 at 18:17 UTC
Updated:
15 Jul 2009 at 20:14 UTC
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
Comment #1
steve.neill commentedComment #2
eric-alexander schaefer commentedCan you explain what this code is doing? Is it a hook for the date module? What does it do?
Comment #3
eric-alexander schaefer commentedSteve? Are you still with us? What does you code do exactly?
Comment #4
eric-alexander schaefer commentedReopen, if you feel like answering my question...