diff --git a/lib/fb_graph/event.rb b/lib/fb_graph/event.rb
index <HASH>..<HASH> 100644
--- a/lib/fb_graph/event.rb
+++ b/lib/fb_graph/event.rb
@@ -32,7 +32,7 @@ module FbGraph
         @end_time = case end_time
         when String
           Time.parse(end_time)
-        when Fixnum
+        when Integer
           Time.at(end_time)
         end
       end
handle timestamp as Integer not Fixnum