module RelationsHelper
end

module RelationsHelper

  def format_date_for(relation)
    if relation.to.nil?
      return "#{relation.from}"
    else
      return "#{relation.from} - #{relation.to}"
    end
  end
end

Create format_date_for helper to get formatted date in relations
Create format_date_for helper to get formatted date in relations
