acts_as_publishable 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ module ActsAsPublishable
|
|
34
34
|
|
35
35
|
module InstanceMethods
|
36
36
|
def published?
|
37
|
-
now = Time.now
|
37
|
+
now = Time.now.utc
|
38
38
|
@from ||= self[self.class.published_from_column.to_sym]
|
39
39
|
@to ||= self[self.class.published_to_column.to_sym]
|
40
40
|
is_published_now = self[self.class.publish_now_column.to_sym]
|