? scheduler-module-190860-3.patch
Index: scheduler.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/scheduler/Attic/scheduler.module,v
retrieving revision 1.46.4.24
diff -u -r1.46.4.24 scheduler.module
--- scheduler.module	24 Apr 2008 13:18:25 -0000	1.46.4.24
+++ scheduler.module	24 Apr 2008 14:18:33 -0000
@@ -182,7 +182,7 @@
         // right before we save the node, we need to check if a "publish on" value has been set
         // if it has been set, we want to make sure the node is unpublished
         // since it will be published at a later date (but only if the value is in the future.
-        if ($node->publish_on != '' && is_numeric($node->publish_on) && $node->publish_on > time()) {
+        if ($node->publish_on != '' && is_numeric($node->publish_on) && ($node->publish_on - $node->timezone) > time()) {
           $node->status = 0;
         }
         break;
