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