lib/fb_graph/post.rb in fb_graph-0.0.8 vs lib/fb_graph/post.rb in fb_graph-0.1.0
- old
+ new
@@ -33,13 +33,13 @@
@icon = options[:icon]
@attribution = options[:attribution]
@actions = options[:actions]
@likes = options[:likes]
if options[:created_time]
- @created_time = Time.parse(options[:created_time])
+ @created_time = Time.parse(options[:created_time]).utc
end
if options[:updated_time]
- @updated_time = Time.parse(options[:updated_time])
+ @updated_time = Time.parse(options[:updated_time]).utc
end
# cached connection
@_comments_ = FbGraph::Collection.new(options[:comments])
end
\ No newline at end of file