From da6b756622d1a332499f5d4eec6f2e1ec83f206a Mon Sep 17 00:00:00 2001 From: Brian Underwood Date: Wed, 29 Jul 2015 09:44:13 -0600 Subject: [PATCH] require date library for those not in environments like Rails (fixes #852) (cherry picked from commit 1fb8c645b2715d6756ceccda7bbc8e7fd0054913) --- lib/neo4j/shared/type_converters.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/neo4j/shared/type_converters.rb b/lib/neo4j/shared/type_converters.rb index adac6670d..6a07ca7c0 100644 --- a/lib/neo4j/shared/type_converters.rb +++ b/lib/neo4j/shared/type_converters.rb @@ -1,3 +1,5 @@ +require 'date' + module Neo4j::Shared module TypeConverters # Converts Date objects to Java long types. Must be timezone UTC.