Adding untested workaround for parsedate's removal in Ruby 1.9+