require 'time' before invoking Time.parse